在新环境中堆栈级别太深,在现有环境中工作正常
当我将 Ruby on Rails 服务器移至新计算机时,我收到此错误消息。我已经按照与过去完全相同的方式安装了 Ruby on Rails,但现在收到此错误。我已验证新服务器上的权限是否正确并且所有内容均已正确安装。您知道为什么我会在新机器上出现此错误,但在旧机器上不会出现此错误吗?两者都在生产环境中运行。如果我在新服务器上的开发环境中运行,那么一切正常。
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
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
哇。我应该被带回去然后朝自己的脸开枪。当我恢复 MySQL 数据库时,显然恢复文件太大,但它恢复了开发数据库。然而,生产数据库仅得到部分恢复。瘸!
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!