1

我在 Windows 7 64 位上使用带有 rails 3.2.12 的 ruby​​ 1.9.3 并出现以下错误并且在安装 mysql2 gem 时遇到问题。

gem install mysql2

I am getting following error
  You've installed the binary version of mysql.
  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 URL:

  http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick

  You can put the lib\libmysql.dll available in this package to your Ruby bin directory.
  E.g. C:\Ruby\bin

我按照 dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick 并按照指示复制但没有运气。

我也遵循这一点,但最后得到同样的错误任何帮助将不胜感激。谢谢

4

0 回答 0