rails 3.2.9的rake错误

时间:2012-12-03 04:03:00

标签: ruby-on-rails-3

我刚从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'

1 个答案:

答案 0 :(得分:0)

您是否可能忘记更新某些依赖项? 尝试运行:

$ bundle outdated

并检查是否需要更新其他宝石....