开发者

stack level too deep in new environment, works fine in existing

I am getting this error message when I move my Ruby on Rails server over to a new machine. I've installed Ruby on Rails the exact same way as I have in the past but am now getting this error. I've verified that the permissions on the new server is correct and that everything is installed properly. Do you know why I would be getting this error 开发者_如何学编程on the new machine, but not the old existing one? Both are running production environments. If I run in Development environment on the new server then everything works properly.

SystemStackError in PagesController#index

stack level too deep

Rails.root: /var/ruby/fruit
Application Trace | Framework Trace | Full Trace

vendor/cache/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/callbacks.rb:422


Wow. I should be taken out back and just shoot myself in the face. When I restored my MySQL database, apparently the restore file was too large and it restored the development database just fine. However, the production database only got partially restored. LAME!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜