LoadError(没有要加载的文件 - action_controller / routing)

时间:2013-05-06 16:18:27

标签: ruby-on-rails-3.2 jruby

我突然得到no such file to load -- action_controller/routing

我的其他控制器中的其他方法工作正常仅在创建方法中使用此方法

respond_to do |format|

这是日志

LoadError (no such file to load -- action_controller/routing):
  lib/routing_extensions.rb:164:in `(root)'
.
.
.
 Rendered /home/appandya/.rvm/gems/jruby-1.7.2@rails-3.2.11/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
  Rendered /home/appandya/.rvm/gems/jruby-1.7.2@rails-3.2.11/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
  Rendered /home/appandya/.rvm/gems/jruby-1.7.2@rails-3.2.11/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.0ms)

任何帮助或方向将不胜感激。

1 个答案:

答案 0 :(得分:0)

lib/routing_extensions.rb中,我们有一个插件,需要根据rails 3.2.x方式安装。现在工作正常