I attempted to run bundle update for ronin-gen on 1.9.2-p0, which has a fair amount of dependencies. bundle update would update any used git repositories, download the RubyGems specs.yml file, and begin resolving the dependencey graph for ronin-gen. Except, that bundle update was so inefficient or hit an infinite loop, I had to stop it after hitting the 57 minutes mark.
Steps to reproduce.
git clone git://github.com/ronin-ruby/ronin-gen.git
cd ronin-gen && bundle install
time bundle update
Thanks for the report. We'll look into it.
can approve that. we changed rails gem version to 2.3.10 in our rails app, and in our rails gems as well (so we had to change also our gem versions). after i edited the gemfile neither bundle install nor bundle update can run. we managed the upgrade by editing gemfile.lock to the new gem versions.
I'm experiencing this too, also with ruby 1.9.2-p0. Can't recall if I've seen it on 1.8.7 (I use REE).
Also seeing this on a Rails 2.3.8 project under Ruby 1.8.7
Looking at the process information while the command was running, I see the ruby process using 1 thread and 100% CPU usage.
@aselder, if you want detailed information on what's going on, try running DEBUG_RESOLVER=true bundle update. That will print out information about what the resolver is doing.
DEBUG_RESOLVER=true bundle update
@indirect, I did and saw it got stuck in an infinite loop. See the seperate issue I filed (#829).
Looks like the dependency tree from metric_fu threw it in an infinite loop.
Was this resolved in bundler 1.1?
Definitely resolved in 1.1. Closing this.