我正在从2.3.18
到4.1.1
到3.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
。关于如何摆脱这个的任何想法?