Windows7でRailis環境構築 Ruby1.9.3+Rails3.2.8+MySQL
開発環境のRailsのバージョンを2.3.11から3.2.8へバージョンアップ。
bundle installしたら、MySQLコネクターもバージョンアップする必要があるんだとか。
=============================================================
You've installed the binary version of mysql2.
It was built using MySQL Connector/C version 6.0.2.
It's recommended to use the exact same version to avoid potential issues.
At the time of building this gem, the necessary DLL files where available
in the following download:
http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0
.2-win32.zip/from/pick
And put lib\libmysql.dll file in your Ruby bin directory, for example C:\Ruby\
bin
=============================================================
上記メッセージに従い、MySQLコネクターを以下からダウンロード。
http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick
解凍したフォルダから「lib\libmysql.dll」を「Ruby1.9.3\bin」へコピーすればオッケー!