0

When I try to start my rails server i get this error

   C:/Ruby187/lib/ruby  /gems/1.8/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.8/mysql 2.so: 193: %1 is not a valid Win32 application.  
 - C:/Ruby187/lib/ruby/gems/1.8 /gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.8/mysql2.so (LoadError)

Tried changing the libmysql.dll file even then it doesn't work.

x1a4
  • 19,417
  • 5
  • 40
  • 40
Abhay Kumar
  • 1,582
  • 1
  • 19
  • 45

1 Answers1

0

The problem is with mysql. It is a 64 bit installation. Change it to 32bit and it runs fine.

Abhay Kumar
  • 1,582
  • 1
  • 19
  • 45