任何幫助將不勝感激,當我運行「生成模式」命令,我收到以下消息:這個版本mysql2的(0.2.18)不使用Rails兼容3.1
WARNING: This version of mysql2 (0.2.18) isn't compatible with Rails 3.1 as the ActiveRecord adapter was pulled into Rails itself.
WARNING: Please use the 0.3.x (or greater) releases if you plan on using it in Rails >= 3.1.x
有一種更新mysql2版本的方法,以便它可以與rails 3.1一起使用?或者也許我可以將鋼軌從3.1降級到3.0?
你有沒有試過[更新mysql2寶石](http://docs.rubygems.org/read/chapter/10#page40)?從長遠來看,這似乎將成爲更好的戰略。 – hardmath 2011-12-23 16:56:52