升级Rails 3.1.10到3.2.0时的堆栈级别太深

时间:2019-10-24 14:07:18

标签: ruby-on-rails-3.2 actiondispatch actionpack rails-upgrade stack-level

将Rails应用程序从3.2.0升级到rails console后,出现以下错误。
rails server很好。而且,我能够在控制台中执行代码。但是,当我运行browser并在Rendered /home/sarwan/.rvm/gems/ruby-1.9.3-p551@project-name/gems/actionpack-3.2.21/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)中打开页面时。它失败并显示以下错误。

SystemStackError(堆栈级别太深):   actionpack(3.2.21)lib / action_dispatch / middleware / reloader.rb:70

Rendered /home/sarwan/.rvm/gems/ruby-1.9.3-p551@project-name/gems/actionpack-3.2.21/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
  Rendered /home/sarwan/.rvm/gems/ruby-1.9.3-p551@project-name/gems/actionpack-3.2.21/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.8ms)
  {{1}}
缓存读取:http://localhost:3000/favicon.ico

任何帮助将不胜感激。

0 个答案:

没有答案