运行包更新后堆栈级别太深错误 [英] Stack level too deep error after running bundle update

查看:39
本文介绍了运行包更新后堆栈级别太深错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Rails 应用程序,可以正常运行几个月.但是,昨天,在运行 bundle update 后,我无法再启动服务器.每当我启动 webrick 时,它都会引发此错误:

I have a rails app which run fine for some months. However, yesterday, after I've run bundle update, I cannot start server anymore. Whenever I start webrick it raises this error:

.rvm/gems/ruby-1.9.3-p392/gems/rack-1.4.5/lib/rack/builder.rb:40: stack level too deep (SystemStackError)

根据上述错误消息,我不知道是什么原因造成的.

I don't know which cause this base on the above error message.

这也是我的 gemfile:Gemfile

Also this is my gemfile: Gemfile

谁能帮我解决这个问题

推荐答案

我测试了你的 Gemfile,正如我所想的,似乎与你的 gems 存在冲突,特别是在 rest-open-uri 之间和回形针.根据您在程序中使用 rest-open-uri 的程度,切换到另一个 HTTP 库可能是值得的.有很多 Ruby HTTP 库.

I tested your Gemfile and, as I thought, there seems to be conflict with your gems, specifically between rest-open-uri and paperclip. Depending on how much you are using rest-open-uri in your program, it may be worth it to switch to another HTTP library. There are a lot of Ruby HTTP libraries out there.

这篇关于运行包更新后堆栈级别太深错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆