7
我试图用mysql2 v 0.2.6在Rails 3.1中创建一个应用程序。当运行rake db:create
,我得到以下错误:Arel Deprecation当运行rake db时出现警告:创建
DEPRECATION WARNING: Arel::Visitors::VISITORS is deprecated and will be removed.
Database adatpers should define a visitor_for method which returns the appropriate
visitor for the database. For example, MysqlAdapter.visitor_for(pool) returns
Arel::Visitors::MySQL.new(pool). (called from mon_synchronize at
c:/Ruby192/lib/ruby/1.9.1/monitor.rb:201)
我可以访问MySQL监控,所以创业板似乎被正确安装。还有什么可以在这里?
谢谢!
所以这个版本mysql2的不希望正确安装......“未能建立原生扩展”和所有的爵士乐。但0.2.6安装好吗? – Beth