我将Rails 2.3应用程序移至Rails 3. 应用程序实际上工作正常,但我遇到了rake任务问题。 它看起来像环境文件中的配置没有正确初始化。 我得到的错误是:Rake on Rails 3问题
rake aborted!
undefined method `cache_classes=' for #<Hash:0x3c3e850>
/var/www/apps/nzar3/config/environments/development.rb:9
.....
的环境文件是干净的,和它的作品。 这里的环境/ development.rb
config.cache_classes = false
config.whiny_nils = true
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
config.active_support.deprecation = :log
config.action_dispatch.best_standards_support = :builtin
任何线索?
耙版本:耙(0.8.7) – CLod 2010-09-23 21:16:34