Closed kendagriff closed 13 years ago
You might be able to get more information by running DEBUG_RESOLVER=true bundle install
or update
. That will at least print out the resolving work that bundler is attempting to do so you can see what's going on.
Thank you. I don't know what's changed, but adding DEBUG_RESOLVER seems to have fixed it, as strange as that sounds.
Closing this
We encountered this today when we had a Gemfile
that didn't specify a version on rails:
gem 'rails'
We also had a number of different Rails versions installed, which Bundler then used to attempt to resolve the dependencies, resulting in the "endless running" of bundle install
. The DEBUG_RESOLVER
tip was exceptionally handy in solving this problem, as well as changing the line for Rails in the Gemfile
to this:
gem 'rails', '3.0.7'
Thanks André for the #protip.
Thanks! Setting gem 'rails', '3.0.7' worked for me after having the same issue.
'bundle install' freezes at the source index update.
Suddenly bundler has become completely unworkable. I know this has been hit on before, but I've reached an impasse, and no other tickets seem to solve it. Deleting gems as recommended in the documentation has not changed anything. I've run 'bundle install' and let it run for over an hour. I've also tried simplifying the gemfile to a single line. What is most strange is that this is so sudden – I've been using bundler for over a year now without any problems like this.
Here's the details of my setup...
Kendall-Buchanans-MacBook-Pro:sponsors kendallbuchanan$ bundle -v Bundler version 1.0.10 Kendall-Buchanans-MacBook-Pro:sponsors kendallbuchanan$ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin10.4.0] Kendall-Buchanans-MacBook-Pro:sponsors kendallbuchanan$ cat Gemfile source 'http://rubygems.org'
gem 'rails', '3.0.3' gem 'authlogic', :git => 'git://github.com/odorcicd/authlogic.git', :branch => 'rails3', :require => 'authlogic' gem 'delayed_job', :git => 'git://github.com/collectiveidea/delayed_job.git', :tag => 'v2.1.1' #, :tag => '>=v2.1.0.pre2' #:branch => 'rails3-mailer' gem 'workflow' gem 'paperclip' gem 'aws-s3', :require => 'aws/s3' gem 'exceptional' gem 'ruby-debug' gem 'fastercsv' gem 'ruby-web-search', :git => 'git://github.com/mattetti/ruby-web-search.git' gem 'home_run' gem 'heroku' gem 'heroku_backup_task' gem 's3_swf_upload', :git => 'git://github.com/nathancolgate/s3-swf-upload-plugin'
group :test, :development do gem 'factory_girl' gem 'sqlite3-ruby', :require => 'sqlite3' gem 'rspec', '>=2.0.0.beta.20' gem 'rspec-rails','>=2.0.0.beta.20' gem 'cucumber' gem 'capybara' gem 'database_cleaner' gem 'cucumber-rails' gem 'launchy' gem 'faker' gem 'email_spec' gem 'spork' gem 'mongrel' gem 'capybara-envjs' gem 'envjs' gem 'ZenTest' gem 'time_travel' gem 'autotest-rails' gem 'autotest-fsevent' gem 'machinist' # must be last for ZenTest end
group :production do gem 'pg' gem 'workless', :git => 'git://github.com/kendagriff/workless.git' endKendall-Buchanans-MacBook-Pro:sponsors kendallbuchanan$