Bundler is stuck and eats all my CPU #1450

Closed
jlecour opened this Issue Sep 23, 2011 · 19 comments

Comments

Projects
None yet
9 participants

jlecour commented Sep 23, 2011

Hi,

On one of my many projetcs where I use Bundler, it can't update/install gems.
NB : This project is a private gem, so I can't give access to the full source code

After a bundle or bundle install, it gets stuck and it eats all my CPU.

With 1.0.18 I couldn't get a verbose output, but with 1.1.pre9, I get this :

→ bundle --verbose install 
Fetching dependency information from the API at http://rubygems.org/Query List: ["wishbed", "geokit", "geokit-rails3", "airbrake", "rest-client", "savon", "handsoap", "curb", "roxml", "hashie"]
Query Gemcutter Dependency Endpoint API: wishbed geokit geokit-rails3 airbrake rest-client savon handsoap curb roxml hashie
Fetching from: http://rubygems.org/api/v1/dependencies?gems=wishbed,geokit,geokit-rails3,airbrake,rest-client,savon,handsoap,curb,roxml,hashie
HTTP Success
.Query List: ["rails", "activesupport", "builder", "mime-types", "nokogiri", "gyoku", "akami", "wasabi", "httpi", "nori", "crack", "apricoteatsgorilla", "hpricot", "rubiii-apricoteatsgorilla", "extensions", "libxml-ruby"]
Query Gemcutter Dependency Endpoint API: rails activesupport builder mime-types nokogiri gyoku akami wasabi httpi nori crack apricoteatsgorilla hpricot rubiii-apricoteatsgorilla extensions libxml-ruby
Fetching from: http://rubygems.org/api/v1/dependencies?gems=rails,activesupport,builder,mime-types,nokogiri,gyoku,akami,wasabi,httpi,nori,crack,apricoteatsgorilla,hpricot,rubiii-apricoteatsgorilla,extensions,libxml-ruby
HTTP Success
.Query List: ["bundler", "railties", "actionmailer", "activeresource", "activerecord", "actionpack", "rake", "actionwebservice", "multi_json", "memcache-client", "tzinfo", "i18n", "weakling", "hoe", "rack", "pyu-ntlm-http", "ntlm-http"]
Query Gemcutter Dependency Endpoint API: bundler railties actionmailer activeresource activerecord actionpack rake actionwebservice multi_json memcache-client tzinfo i18n weakling hoe rack pyu-ntlm-http ntlm-http
Fetching from: http://rubygems.org/api/v1/dependencies?gems=bundler,railties,actionmailer,activeresource,activerecord,actionpack,rake,actionwebservice,multi_json,memcache-client,tzinfo,i18n,weakling,hoe,rack,pyu-ntlm-http,ntlm-http
HTTP Success
.Query List: ["rdoc", "rack-ssl", "thor", "mail", "text-format", "activemodel", "arel", "erubis", "sprockets", "rack-mount", "rack-test", "rack-cache", "ZenTest", "RubyInline", "rubyforge", "gemcutter"]
Query Gemcutter Dependency Endpoint API: rdoc rack-ssl thor mail text-format activemodel arel erubis sprockets rack-mount rack-test rack-cache ZenTest RubyInline rubyforge gemcutter
Fetching from: http://rubygems.org/api/v1/dependencies?gems=rdoc,rack-ssl,thor,mail,text-format,activemodel,arel,erubis,sprockets,rack-mount,rack-test,rack-cache,ZenTest,RubyInline,rubyforge,gemcutter
HTTP Success
.Query List: ["treetop", "tlsmail", "text-hyphen", "bcrypt-ruby", "abstract", "tilt", "hike", "multimap", "json_pure", "json", "net-scp"]
Query Gemcutter Dependency Endpoint API: treetop tlsmail text-hyphen bcrypt-ruby abstract tilt hike multimap json_pure json net-scp
Fetching from: http://rubygems.org/api/v1/dependencies?gems=treetop,tlsmail,text-hyphen,bcrypt-ruby,abstract,tilt,hike,multimap,json_pure,json,net-scp
HTTP Success
.Query List: ["polyglot", "facets", "spruz", "net-ssh"]
Query Gemcutter Dependency Endpoint API: polyglot facets spruz net-ssh
Fetching from: http://rubygems.org/api/v1/dependencies?gems=polyglot,facets,spruz,net-ssh
HTTP Success
.Query List: ["needle"]
Query Gemcutter Dependency Endpoint API: needle
Fetching from: http://rubygems.org/api/v1/dependencies?gems=needle
HTTP Success
.Query List: []

Unmet Dependencies: rubiii-apricoteatsgorilla
Fetching dependency information from the API at http://rubygems.org/Query List: ["rubiii-apricoteatsgorilla"]
Query Gemcutter Dependency Endpoint API: rubiii-apricoteatsgorilla
Fetching from: http://rubygems.org/api/v1/dependencies?gems=rubiii-apricoteatsgorilla
HTTP Success
Fetching dependency information from the API at http://rubygems.org/Query List: []

From here, it stays stuck forever. I even let it "do" whatever it tries to do for over an hour, without any progress.

Here is my Gemfile :

source "http://rubygems.org"

# Specify your gem's dependencies in wishbed.gemspec
gemspec

And my gemspec :

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "my_gem/version"

Gem::Specification.new do |s|
  s.name        = "my_gem"
  s.version     = MyGem::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["authors"]
  s.email       = ["email"]
  s.homepage    = ""
  s.summary     = %q{sumamry}
  s.description = %q{description}

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]

  s.add_dependency 'geokit', '~> 1.5'
  s.add_dependency 'geokit-rails3', '~> 0.1'
  s.add_dependency "airbrake", "~> 3.0"
  s.add_dependency 'rest-client', '~> 1.6.7'
  s.add_dependency "savon", "~> 0.9.7"
  s.add_dependency 'handsoap', '~> 1.1'
  s.add_dependency 'curb', '~> 0.7.15'
  s.add_dependency 'roxml', '~> 3.1.6'
  s.add_dependency 'hashie', '~> 1.1'
end

Let me know if I can do something else to help figure this out.

Thanks you very much for the support and the great work on Bundler.

jlecour commented Sep 23, 2011

After killing the process with a Ctrl-C, I get this :

/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:39:in `initialize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/index.rb:52:in `find'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:39:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:39:in `find'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:39:in `initialize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:38:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:38:in `initialize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:383:in `new'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:383:in `search'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:383:in `map'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:383:in `search'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:352:in `gems_size'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:179:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/index.rb:52:in `sort_by'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:175:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:175:in `sort_by'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:175:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:215:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:341:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:336:in `resolve_requirement'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:288:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `reverse_each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:287:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:160:in `start'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:128:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:127:in `catch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/resolver.rb:127:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/definition.rb:155:in `resolve'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/definition.rb:90:in `specs'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/definition.rb:85:in `resolve_remotely!'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/installer.rb:48:in `run'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/installer.rb:12:in `install'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/cli.rb:216:in `install'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor/task.rb:22:in `send'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor/task.rb:22:in `run'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor.rb:263:in `dispatch'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor/base.rb:386:in `start'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/gems/bundler-1.1.pre.9/bin/bundle:13
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/bin/bundle:19:in `load'
/Users/jlecour/.rvm/gems/ree-1.8.7-2011.03@my_gem/bin/bundle:19
bundle --verbose install  1096,56s user 15,53s system 88% cpu 21:01,43 total
Owner

indirect commented Sep 23, 2011

Try running DEBUG_RESOLVER=1 bundle install to see what is happening as Bundler tries to find gem versions that will meet your requirements.

On Sep 23, 2011, at 7:52 AM, Jérémy Lecourreply@reply.github.com wrote:

Hi,

On one of my many projetcs where I use Bundler, it can't update/install gems.
NB : This project is a private gem, so I can't give access to the full source code

After a bundle or bundle install, it gets stuck and it eats all my CPU.

With 1.0.18 I couldn't get a verbose output, but with 1.1.pre9, I get this :

→ bundle --verbose install
Fetching dependency information from the API at http://rubygems.org/Query List: ["wishbed", "geokit", "geokit-rails3", "airbrake", "rest-client", "savon", "handsoap", "curb", "roxml", "hashie"]
Query Gemcutter Dependency Endpoint API: wishbed geokit geokit-rails3 airbrake rest-client savon handsoap curb roxml hashie
Fetching from: http://rubygems.org/api/v1/dependencies?gems=wishbed,geokit,geokit-rails3,airbrake,rest-client,savon,handsoap,curb,roxml,hashie
HTTP Success
.Query List: ["rails", "activesupport", "builder", "mime-types", "nokogiri", "gyoku", "akami", "wasabi", "httpi", "nori", "crack", "apricoteatsgorilla", "hpricot", "rubiii-apricoteatsgorilla", "extensions", "libxml-ruby"]
Query Gemcutter Dependency Endpoint API: rails activesupport builder mime-types nokogiri gyoku akami wasabi httpi nori crack apricoteatsgorilla hpricot rubiii-apricoteatsgorilla extensions libxml-ruby
Fetching from: http://rubygems.org/api/v1/dependencies?gems=rails,activesupport,builder,mime-types,nokogiri,gyoku,akami,wasabi,httpi,nori,crack,apricoteatsgorilla,hpricot,rubiii-apricoteatsgorilla,extensions,libxml-ruby
HTTP Success
.Query List: ["bundler", "railties", "actionmailer", "activeresource", "activerecord", "actionpack", "rake", "actionwebservice", "multi_json", "memcache-client", "tzinfo", "i18n", "weakling", "hoe", "rack", "pyu-ntlm-http", "ntlm-http"]
Query Gemcutter Dependency Endpoint API: bundler railties actionmailer activeresource activerecord actionpack rake actionwebservice multi_json memcache-client tzinfo i18n weakling hoe rack pyu-ntlm-http ntlm-http
Fetching from: http://rubygems.org/api/v1/dependencies?gems=bundler,railties,actionmailer,activeresource,activerecord,actionpack,rake,actionwebservice,multi_json,memcache-client,tzinfo,i18n,weakling,hoe,rack,pyu-ntlm-http,ntlm-http
HTTP Success
.Query List: ["rdoc", "rack-ssl", "thor", "mail", "text-format", "activemodel", "arel", "erubis", "sprockets", "rack-mount", "rack-test", "rack-cache", "ZenTest", "RubyInline", "rubyforge", "gemcutter"]
Query Gemcutter Dependency Endpoint API: rdoc rack-ssl thor mail text-format activemodel arel erubis sprockets rack-mount rack-test rack-cache ZenTest RubyInline rubyforge gemcutter
Fetching from: http://rubygems.org/api/v1/dependencies?gems=rdoc,rack-ssl,thor,mail,text-format,activemodel,arel,erubis,sprockets,rack-mount,rack-test,rack-cache,ZenTest,RubyInline,rubyforge,gemcutter
HTTP Success
.Query List: ["treetop", "tlsmail", "text-hyphen", "bcrypt-ruby", "abstract", "tilt", "hike", "multimap", "json_pure", "json", "net-scp"]
Query Gemcutter Dependency Endpoint API: treetop tlsmail text-hyphen bcrypt-ruby abstract tilt hike multimap json_pure json net-scp
Fetching from: http://rubygems.org/api/v1/dependencies?gems=treetop,tlsmail,text-hyphen,bcrypt-ruby,abstract,tilt,hike,multimap,json_pure,json,net-scp
HTTP Success
.Query List: ["polyglot", "facets", "spruz", "net-ssh"]
Query Gemcutter Dependency Endpoint API: polyglot facets spruz net-ssh
Fetching from: http://rubygems.org/api/v1/dependencies?gems=polyglot,facets,spruz,net-ssh
HTTP Success
.Query List: ["needle"]
Query Gemcutter Dependency Endpoint API: needle
Fetching from: http://rubygems.org/api/v1/dependencies?gems=needle
HTTP Success
.Query List: []

Unmet Dependencies: rubiii-apricoteatsgorilla
Fetching dependency information from the API at http://rubygems.org/Query List: ["rubiii-apricoteatsgorilla"]
Query Gemcutter Dependency Endpoint API: rubiii-apricoteatsgorilla
Fetching from: http://rubygems.org/api/v1/dependencies?gems=rubiii-apricoteatsgorilla
HTTP Success
Fetching dependency information from the API at http://rubygems.org/Query List: []

From here, it stays stuck forever. I even let it "do" whatever it tries to do for over an hour, without any progress.

Here is my Gemfile :

source "http://rubygems.org"

# Specify your gem's dependencies in wishbed.gemspec
gemspec

And my gemspec :

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "my_gem/version"

Gem::Specification.new do |s|
 s.name        = "my_gem"
 s.version     = MyGem::VERSION
 s.platform    = Gem::Platform::RUBY
 s.authors     = ["authors"]
 s.email       = ["email"]
 s.homepage    = ""
 s.summary     = %q{sumamry}
 s.description = %q{description}

 s.files         = `git ls-files`.split("\n")
 s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
 s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
 s.require_paths = ["lib"]

 s.add_dependency 'geokit', '~> 1.5'
 s.add_dependency 'geokit-rails3', '~> 0.1'
 s.add_dependency "airbrake", "~> 3.0"
 s.add_dependency 'rest-client', '~> 1.6.7'
 s.add_dependency "savon", "~> 0.9.7"
 s.add_dependency 'handsoap', '~> 1.1'
 s.add_dependency 'curb', '~> 0.7.15'
 s.add_dependency 'roxml', '~> 3.1.6'
 s.add_dependency 'hashie', '~> 1.1'
end

Let me know if I can do something else to help figure this out.

Thanks you very much for the support and the great work on Bundler.

Reply to this email directly or view it on GitHub:
carlhuda#1450

jlecour commented Sep 23, 2011

I've done this debug, redirected to a file and after a couple of minutes, I get a big file with hundreds of thousands of lines of dependency checks.

Honestly, I don't know how to read this ;-)

Can I put it somewhere for you ?

jlecour commented Sep 23, 2011

After ~4 minutes, I've stopped it. I've got a 36MB file, with 1 871 903 lines ;-)

Owner

indirect commented Sep 23, 2011

Sounds like you have a very hard to resolve Gemfile! Since the problem is technically unbounded, it is possible that your Gemfile can't be resolved in a reasonable amount of time. You may be able to speed things up by setting version requirements with = or ~> in you Gemfile, to reduce the number of versions that Bundler has to check.

On Sep 23, 2011, at 9:40 AM, Jérémy Lecourreply@reply.github.com wrote:

After ~4 minutes, I've stopped it. I've got a 36MB file, with 1 871 903 lines ;-)

Reply to this email directly or view it on GitHub:
carlhuda#1450 (comment)

schmurfy commented Dec 5, 2011

I just got an issue similar to this one with this Gemfile: https://gist.github.com/1434105
If I put this file in an empty folder and run "bundle update" with ruby 1.9.3-p0 the ruby process takes 99% cpu and stay there, if you comment the goliath line then everything is fine !

I cannot get much debug information since running "bundle --verbose install" makes everything works fine.

Edit: "bundle --no-color update" also works fine

jlecour commented Dec 5, 2011

As @indirected supposed, in my case, there was a dependency loop.

I had one of my own gems in the Gemfiles, and changing its dependencies (I don't remember if one was more strict or more vague), the problem was resolved.

schmurfy commented Dec 6, 2011

It certainly looks like a dependency loop except that by adding "--verbose" or "--no-color" for whatever reason it works,
why adding "--no-color" can make the resolution works is blowing my mind xD

atd commented Dec 9, 2011

Same problem here with gem social_stream

Is there any way to know what are the constraining dependencies? In our case, bundler ends up installing a very old version of the gem

atd commented Dec 9, 2011

Ok, forcing the dependency in the Gemfile showed it up. Solved here too!

Contributor

radar commented Mar 13, 2012

Going to go ahead and close this issue, as it seems to be a problem with how a Gemfile is configured rather than anything in particular to do with Bundler's function.

radar closed this Mar 13, 2012

I just ran into this myself. Is there any way to get more debug info out of bundler about the things that are causing issues?

Difficult to resolve dependencies:
* Gem
* Gem
* Gem

Suggestion: Please specify versions manually using ~> or =

or some such.

I don't know anything about bundler internals - but is that feasible/possible to provide?

Contributor

radar commented Apr 25, 2012

cough Halting problem.

Please follow the advice in my last comment to avoid this problem.

lzap commented Oct 22, 2012

So is my understanding of this issue correct: Bundler is having hard time to resolve the dependencies, therefore the only workaround now is to provide it some "hints" of specifying versions for some dependencies, so it can calculate the rest quickly. Right?

Owner

indirect commented Oct 22, 2012

@lzap, the issue is that resolving dependency graphs is an unbounded problem. There is no way to guarantee your Gemfile can be resolved before the heat death of the universe. Given that constraint, reducing the problem space as much as possible is wise. :)

jrz commented Jan 28, 2013

Mine is stuck at:
Unmet Dependencies: ["spicycode-rcov", "mhennemeyer-output_catcher", "peterwald-git", "schacon-git", "mongodb-mongo", "tenderlove-frex", "rubiii-apricoteatsgorilla"]
Fetching gem metadata from http://rubygems.org/
Query List: ["spicycode-rcov", "mhennemeyer-output_catcher", "peterwald-git", "schacon-git", "mongodb-mongo", "tenderlove-frex", "rubiii-apricoteatsgorilla"]
Query Gemcutter Dependency Endpoint API: spicycode-rcov mhennemeyer-output_catcher peterwald-git schacon-git mongodb-mongo tenderlove-frex rubiii-apricoteatsgorilla
Fetching from: http://rubygems.org/api/v1/dependencies?gems=spicycode-rcov,mhennemeyer-output_catcher,peterwald-git,schacon-git,mongodb-mongo,tenderlove-frex,rubiii-apricoteatsgorilla
HTTP Success
Query List: []

After adding awesome_print
Edit: it's not awesome_print.

It keeps looping over:
Activated:
mongoid (2.4.11)
rails (3.2.11)
dragonfly-minimagick (0.0.1)
dragonfly (0.9.12)
activesupport (3.2.11)
activeresource (3.2.11)
actionmailer (3.2.11)
bundler (1.2.3)
actionpack (3.2.11)
mail (2.4.4)
activerecord (3.2.11)
journey (1.0.4)
rack-cache (1.2)
activemodel (3.2.11)
arel (3.0.2)
railties (3.2.11)
rack-ssl (1.3.2)
erubis (2.7.0)
i18n-docs (0.0.4)
i18n (0.6.1)
rack-test (0.6.2)
cucumber-rails (1.3.0)
quiet_assets (1.0.1)
sprockets (2.2.2)
mini_magick (3.4)
hike (1.2.1)
coffee-rails (3.2.2)
coffee-script (2.2.0)
subexec (0.2.2)
rb-readline (0.4.2)
resque-lock (1.1.0)
better_logging (1.0.3)
cucumber (1.2.1)
diff-lcs (1.2.0)
builder (3.0.4)
embedded_record (0.0.5)
rack (1.4.4)
simple_form (2.0.4)
treetop (1.4.12)
polyglot (0.3.3)
capybara (2.0.2)
xpath (1.0.0)
gherkin (2.11.5)
devise (2.2.2)
warden (1.2.1)
bcrypt-ruby (3.0.1)
orm_adapter (0.4.0)
simplecov-rcov (0.2.3)
mime-types (1.19)
resque-loner (1.2.1)
fancybox-rails (0.1.4)
tzinfo (0.3.35)
breadcrumbs_on_rails (2.3.0)
tilt (1.3.3)
streama (0.3.6)
nokogiri (1.5.6)
mongoid_taggable (0.1.6)
sextant (0.1.0)
thor (0.15.4)
rspec-rails (2.11.0)
Requirements:
actionpack (>= 3.0) ruby
railties (>= 3.0) ruby
rspec (> 2.11.0) ruby
rails-footnotes (>= 3.7) ruby
resque-pool (>= 0) ruby
rubyzip (>= 0) ruby
simplecov (>= 0.4.1) ruby
liquid (>= 0) ruby
uglifier (>= 1.0.3) ruby
carrierwave-mongoid (>= 0) ruby
rake (>= 0.8.7) ruby
resque_mailer (>= 0) ruby
better_errors (>= 0) ruby
bson_ext (>= 1.3.1) ruby
binding_of_caller (>= 0) ruby
railroady (>= 0) ruby
coffee-script-source (>= 0) ruby
railroady (>= 0) ruby
resque-status (>= 0) ruby
airbrake (>= 0) ruby
rdoc (
> 3.4) ruby
multi_json (> 1.0) ruby
multi_json (
> 1.0) ruby
therubyracer (>= 0.8.2) ruby
on_the_spot (>= 0) ruby
simplecov (>= 0) ruby
json (>= 1.4.6) ruby
simplecov (>= 0) ruby
json (>= 1.4.6) ruby
database_cleaner (>= 0) ruby
cancan (>= 0) ruby
rails-i18n (>= 0) ruby
mini_exiftool (>= 0) ruby
execjs (>= 0) ruby
thin (>= 0) ruby
rest-client (>= 0) ruby
kaminari (>= 0) ruby
rake (>= 0) ruby
selenium-webdriver (> 2.0) ruby
carrierwave (>= 0) ruby
jquery-rails (>= 0) ruby
mongo (<= 1.6.2) ruby
brakeman (>= 0) ruby
resque (
> 1.0) ruby
resque (>= 0) ruby
savon (>= 0) ruby
newrelic_rpm (>= 0) ruby
Attempting:
actionpack (>= 3.0) ruby
* [SUCCESS] Already activated
==== Iterating ====

lzap commented Jan 28, 2013

I looked in the codebase and the resolver is, ehm, complicated. I wonder if this can be fixed changing the heuristics.

jrz commented Jan 28, 2013

I saw that I was using two versions of bundler.. Updated to the latest one and it works (phew)

On 28 jan. 2013, at 13:18, Lukáš Zapletal notifications@github.com wrote:

I looked in the codebase and the resolver is, ehm, complicated. I wonder if this can be fixed changing the heuristics.


Reply to this email directly or view it on GitHub.

hh commented Jan 29, 2013

https://gist.github.com/4666847 .... rm Gemfile.lock and rm -rf ~/.bundler cleared it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment