`bundle update rails`需要几个小时

时间:2013-10-27 10:50:35

标签: ruby-on-rails ruby-on-rails-3 bundler

我一直在尝试通过更改3.2.11并运行3.2.13来将我的Rails应用从Gemfile更新为bundle update rails

这就是发生的事情:

Updating git://github.com/thoughtbot/paperclip.git
Fetching gem metadata from http://rubygems.org/......
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

已经持续了一个多小时,而且有一千多个点。

停止此过程再试一次是否安全?我该如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

我在运行DEBUG_RESOLVER=1 bundle install后找到了解决方案。

Rails将从3.2.13开始进行循环,然后将其更改为3.2.14以解决依赖关系,然后在下一次传递时将其更改回来。所以,似乎所有的时间都是来回切换。

我手动更改了我的Gemfile中的版本,以消除我在日志中看到的循环,最终解决了问题。