03 August 2012

Gem compilation error in rails.

I hit this error after setting up MySQL and trying to run the rails server:
this gem was compiled for 6.0.0 but teh client library is 5.*

discovered the solution here:
http://stackoverflow.com/questions/8740868/mysql2-gem-compiled-for-wrong-mysql-client-library

once you install the connector, you copy the libmysql.dll from the connector directory to the ruby bin in the rails directory.

No comments:

Post a Comment