0

having sorted this error -

Ruby mysql2 Error

I now am recieving this error message -

C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application.
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.9/mysql2.so (LoadError)

Any ideas guys?

Cheers Martin

Community
  • 1
  • 1
marscom
  • 615
  • 2
  • 11
  • 24

1 Answers1

0

Simple download libMySql.dll from here, and then put it in ruby\bin.

Said Kaldybaev
  • 9,380
  • 8
  • 36
  • 53
  • I have already done that and I still recieve the same issue - I ma using windows 7, latest mysql server and latest mysql2 - Any other ideas? - Martin – marscom Apr 05 '12 at 07:33
  • After your advice I managed to sort it, your method caused an error stating it needed from the C connecter version 6 of the libmysql.dll file so I installed that and I am sorted! Thank for the help, Martin – marscom Apr 05 '12 at 08:03