我刚刚从 3.2.8 升级到 Linux Mint 14 和 Rails 3.2.9。现在我在运行时收到此错误rake db:create
rake aborted!
undefined method `values_at' for "MySQL. Versions 4.1 and 5.0 are recommended.":String
Tasks: TOP => db:create
我的 Gemfile 看起来像这样:
source 'https://rubygems.org'
gem 'rails', '3.2.9'
gem 'execjs'
gem 'therubyracer'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql2'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'