有人在OSX 10.7上成功使用MySQL gem 2.8.1了吗?
我安装了MySQL 5.5.13 64位版本,并在MySQL成功安装后尝试了以下操作:
env ARCHFLAGS="-arch x86_64" gem install mysql -v='2.8.1' -- --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/mysql/bin/mysql_config
当运行rake命令时,比如说rake db:migrate,我会得到以下信息:
uninitialized constant MysqlCompat::MysqlRes
有什么办法可以修复这个问题吗?