简体   繁体   English

Rails迁移错误:ActionController :: Routing :: Routes:Class的未定义方法“ install_helpers”

[英]Rails migration error: undefined method `install_helpers' for ActionController::Routing::Routes:Class

Got a couple of Rails 2.3.5 projects that are giving me this error when I try to run a rake db:migrate. 当我尝试运行rake db:migrate时,有几个Rails 2.3.5项目正在给我这个错误。 Wondering if someone else has seen it: 想知道是否有人看过它:

undefined method `install_helpers' for ActionController::Routing::Routes:Class ActionController :: Routing :: Routes:Class的未定义方法`install_helpers'

Migrations used to run fine. 迁移过去运行正常。 I've got a pretty tame routes.rb but a lot of gems and plugins, one of which may be the culprit. 我有一个非常温顺的routes.rb,但是有很多gem和插件,其中一个可能是罪魁祸首。

为了上帝的爱,删除rails_upgrade插件,您应该没问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM