我刚刚将'rails_helper'添加到我的gemfile中,现在当我运行rake时,我看到以下错误:
NoMethodError: undefined method `install_helpers' for #<ActionDispatch::Routing::RouteSet:0x007fc22a76aec8>
/usr/local/rvm/gems/ruby-2.0.0-p247@supporthud/gems/rails_helper-2.1.0/lib/rails_helper.rb:111:in `block in <class:Engine>'
rails_helper.rb中的特定行(111)如下:
Rails.application.routes.install_helpers(Helper)
我之前没有遇到过这方面的问题,不胜感激任何指示。
感谢。