“193: %1 is not a valid Win32 application” bug with a new Rails Application

前端 未结 6 2027
北海茫月
北海茫月 2020-11-29 07:08

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

6条回答
  •  野性不改
    2020-11-29 07:25

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

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

    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.

提交回复
热议问题