更新到rails 3后RAILS_CACHE错误

时间:2014-05-30 15:08:45

标签: ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-2

我正在从2.3.184.1.13.2.17进行铁路升级

更新rails并3.2.17并在弹出时遇到每个错误后,我遇到了这个问题:

/home/rrw/.rvm/gems/ruby-2.1.2/gems/railties-3.2.17/lib/rails.rb:90:in `cache': uninitialized constant RAILS_CACHE (NameError)
    from /home/rrw/Projects/app-rails-upgrade/config/application.rb:142:in `<class:Application>'
    from /home/rrw/Projects/app-rails-upgrade/config/application.rb:19:in `<module:AppRailsUpgrade>'
    from /home/rrw/Projects/app-rails-upgrade/config/application.rb:18:in `<top (required)>'
    from /home/rrw/.rvm/gems/ruby-2.1.2/gems/railties-3.2.17/lib/rails/commands.rb:39:in `require'
    from /home/rrw/.rvm/gems/ruby-2.1.2/gems/railties-3.2.17/lib/rails/commands.rb:39:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

我无法弄清楚为什么rails会RAILS_CACHE而不是Rails.cache。关于如何摆脱这个的任何想法?

0 个答案:

没有答案