且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2022-05-08 01:02:34

以下是对我有用的答案.原来这是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计算机,带有MySQL 5.1.30(x64)和Rails 2.3.2已安装,以上建议g 帮助过我. 从此处下载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.