在新环境中堆栈级别太深,在现有环境中工作正常

发布于 2024-11-25 07:05:14 字数 441 浏览 2 评论 0原文

当我将 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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

囍孤女 2024-12-02 07:05:14

哇。我应该被带回去然后朝自己的脸开枪。当我恢复 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!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文