• <i id='8YR9T'><tr id='8YR9T'><dt id='8YR9T'><q id='8YR9T'><span id='8YR9T'><b id='8YR9T'><form id='8YR9T'><ins id='8YR9T'></ins><ul id='8YR9T'></ul><sub id='8YR9T'></sub></form><legend id='8YR9T'></legend><bdo id='8YR9T'><pre id='8YR9T'><center id='8YR9T'></center></pre></bdo></b><th id='8YR9T'></th></span></q></dt></tr></i><div id='8YR9T'><tfoot id='8YR9T'></tfoot><dl id='8YR9T'><fieldset id='8YR9T'></fieldset></dl></div>

        <legend id='8YR9T'><style id='8YR9T'><dir id='8YR9T'><q id='8YR9T'></q></dir></style></legend>

        <small id='8YR9T'></small><noframes id='8YR9T'>

        • <bdo id='8YR9T'></bdo><ul id='8YR9T'></ul>
        <tfoot id='8YR9T'></tfoot>

        “193:%1 不是有效的 Win32 应用程序"新 Rails 应用程序的错误

        时间:2023-06-01

        <small id='Ajb04'></small><noframes id='Ajb04'>

        • <legend id='Ajb04'><style id='Ajb04'><dir id='Ajb04'><q id='Ajb04'></q></dir></style></legend>
          <tfoot id='Ajb04'></tfoot>
          <i id='Ajb04'><tr id='Ajb04'><dt id='Ajb04'><q id='Ajb04'><span id='Ajb04'><b id='Ajb04'><form id='Ajb04'><ins id='Ajb04'></ins><ul id='Ajb04'></ul><sub id='Ajb04'></sub></form><legend id='Ajb04'></legend><bdo id='Ajb04'><pre id='Ajb04'><center id='Ajb04'></center></pre></bdo></b><th id='Ajb04'></th></span></q></dt></tr></i><div id='Ajb04'><tfoot id='Ajb04'></tfoot><dl id='Ajb04'><fieldset id='Ajb04'></fieldset></dl></div>
            <bdo id='Ajb04'></bdo><ul id='Ajb04'></ul>

                  <tbody id='Ajb04'></tbody>
                  本文介绍了“193:%1 不是有效的 Win32 应用程序"新 Rails 应用程序的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个新的 rails 应用程序,我在 Windows 7 下通过进入一个目录并输入rails newapp"来创建它.创作很顺利,当我访问根页面时,一切都很好.但是,当我尝试访问将访问数据库的页面时,我得到了这个:

                  I have a new rails application which I have created under Windows 7 by going into a directory and typing "rails newapp". The creation went fine, and when I access the root page, all is well. However, when I try to access a page that would access the database, I get this:

                  193: %1 is not a valid Win32 application.
                  

                  在 developer.log 中.Mysql 在我的机器上运行良好,我在其他目录中运行了其他应用程序,只是这个不起作用.有什么想法吗?

                  In the developer.log. Mysql is running fine on my machine, and I have other applications which I have running in here in other directories, it's just this one that doesn't work. Any thoughts?

                  推荐答案

                  这是对我有用的答案.原来这是 x64 与 x32 问题和 Rails 2.3.2 的问题.

                  Here's the answer that worked for me. Turns out it was an issue of x64 vs. x32 issue and Rails 2.3.2.

                  我从这里得到的答案(http://osdir.com/ml/RubyonRailsTalk/2009-06/msg01775.html):

                  The answer I got from here (http://osdir.com/ml/RubyonRailsTalk/2009-06/msg01775.html):

                  如果其他人有同样的经过很多努力后的问题我的 Windows XP x64 机器,带有 MySQL5.1.30 (x64) 和 Rails 2.3.2 已安装,以上建议帮助过我.从这里下载 libMySql.dll (http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/)并将其放入 ruby\bin 解决了问题.

                  In case anyone else has the same problem after a lot of struggling on my Windows XP x64 machine, with MySQL 5.1.30 (x64) and Rails 2.3.2 installed, this above suggestiong helped me. Download libMySql.dll from here (http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/) and putting it in ruby\bin solved the problem.

                  这篇关于“193:%1 不是有效的 Win32 应用程序"新 Rails 应用程序的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:按预定义顺序返回查询结果 下一篇:我的 SQL 动态查询执行并将输出输出到存储过程中的变量中

                  相关文章

                      <legend id='jlBZn'><style id='jlBZn'><dir id='jlBZn'><q id='jlBZn'></q></dir></style></legend>

                      <tfoot id='jlBZn'></tfoot>
                    1. <i id='jlBZn'><tr id='jlBZn'><dt id='jlBZn'><q id='jlBZn'><span id='jlBZn'><b id='jlBZn'><form id='jlBZn'><ins id='jlBZn'></ins><ul id='jlBZn'></ul><sub id='jlBZn'></sub></form><legend id='jlBZn'></legend><bdo id='jlBZn'><pre id='jlBZn'><center id='jlBZn'></center></pre></bdo></b><th id='jlBZn'></th></span></q></dt></tr></i><div id='jlBZn'><tfoot id='jlBZn'></tfoot><dl id='jlBZn'><fieldset id='jlBZn'></fieldset></dl></div>
                    2. <small id='jlBZn'></small><noframes id='jlBZn'>

                      • <bdo id='jlBZn'></bdo><ul id='jlBZn'></ul>