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

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.

Leave a Comment