sscirrus
sscirrus

Reputation: 56719

`bundle update rails` takes hours

I have been trying to update my Rails app from 3.2.11 to 3.2.13 by changing my Gemfile and running bundle update rails.

This is what happened:

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

It has been going on for over an hour and there are well over a thousand dots.

Is it safe to stop this process and try again? How can I resolve this?

Upvotes: 1

Views: 1013

Answers (1)

sscirrus
sscirrus

Reputation: 56719

I found the solution after running DEBUG_RESOLVER=1 bundle install.

There was a circularity going on where Rails would begin at v 3.2.13, then it would be changed to 3.2.14 to resolve a dependency, then it would be changed back on the next pass. So, it seems all that time it was toggling back and forth.

I manually changed the versions in my Gemfile to eliminate the circularity that I saw in the logs, and that ended up fixing the issue.

Upvotes: 3

Related Questions