Warning about abandoning Aleki when running rake db: create

I am trying to create an application in Rails 3.1 using mysql2 v 0.2.6. When starting rake db:create , the following error appears:

 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) 

I can access the MySQL monitor, so the stone seems to be installed correctly. What else can happen here?

Thanks!

+7
source share
2 answers

Try updating your msql stone.

B. / Gemfile

 gem require 'mysql2', '~> 0.3.6' 

mysql2 package update

+1
source

use the below version in gemfile.

 gem 'mysql2', '~>0.3.10' 

then run

 bundle install 
0
source

All Articles