{"issue":{"state":"open","created_at":"2011-09-23T14:52:22Z","updated_at":"2011-12-05T19:35:25Z","comments":7,"user":{"gravatar_id":"7d1caf9df777b3b2cf474ff743494335","id":5142,"url":"https://api.github.com/users/jlecour","avatar_url":"https://secure.gravatar.com/avatar/7d1caf9df777b3b2cf474ff743494335?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jlecour"},"body":"Hi,\r\n\r\nOn one of my many projetcs where I use Bundler, it can't update/install gems.\r\nNB : This project is a private gem, so I can't give access to the full source code\r\n\r\nAfter a `bundle` or `bundle install`, it gets stuck and it eats all my CPU.\r\n\r\nWith 1.0.18 I couldn't get a verbose output, but with 1.1.pre9, I get this :\r\n\r\n    → bundle --verbose install \r\n    Fetching dependency information from the API at http://rubygems.org/Query List: [\"wishbed\", \"geokit\", \"geokit-rails3\", \"airbrake\", \"rest-client\", \"savon\", \"handsoap\", \"curb\", \"roxml\", \"hashie\"]\r\n    Query Gemcutter Dependency Endpoint API: wishbed geokit geokit-rails3 airbrake rest-client savon handsoap curb roxml hashie\r\n    Fetching from: http://rubygems.org/api/v1/dependencies?gems=wishbed,geokit,geokit-rails3,airbrake,rest-client,savon,handsoap,curb,roxml,hashie\r\n    HTTP Success\r\n    .Query List: [\"rails\", \"activesupport\", \"builder\", \"mime-types\", \"nokogiri\", \"gyoku\", \"akami\", \"wasabi\", \"httpi\", \"nori\", \"crack\", \"apricoteatsgorilla\", \"hpricot\", \"rubiii-apricoteatsgorilla\", \"extensions\", \"libxml-ruby\"]\r\n    Query Gemcutter Dependency Endpoint API: rails activesupport builder mime-types nokogiri gyoku akami wasabi httpi nori crack apricoteatsgorilla hpricot rubiii-apricoteatsgorilla extensions libxml-ruby\r\n    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\r\n    HTTP Success\r\n    .Query List: [\"bundler\", \"railties\", \"actionmailer\", \"activeresource\", \"activerecord\", \"actionpack\", \"rake\", \"actionwebservice\", \"multi_json\", \"memcache-client\", \"tzinfo\", \"i18n\", \"weakling\", \"hoe\", \"rack\", \"pyu-ntlm-http\", \"ntlm-http\"]\r\n    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\r\n    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\r\n    HTTP Success\r\n    .Query List: [\"rdoc\", \"rack-ssl\", \"thor\", \"mail\", \"text-format\", \"activemodel\", \"arel\", \"erubis\", \"sprockets\", \"rack-mount\", \"rack-test\", \"rack-cache\", \"ZenTest\", \"RubyInline\", \"rubyforge\", \"gemcutter\"]\r\n    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\r\n    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\r\n    HTTP Success\r\n    .Query List: [\"treetop\", \"tlsmail\", \"text-hyphen\", \"bcrypt-ruby\", \"abstract\", \"tilt\", \"hike\", \"multimap\", \"json_pure\", \"json\", \"net-scp\"]\r\n    Query Gemcutter Dependency Endpoint API: treetop tlsmail text-hyphen bcrypt-ruby abstract tilt hike multimap json_pure json net-scp\r\n    Fetching from: http://rubygems.org/api/v1/dependencies?gems=treetop,tlsmail,text-hyphen,bcrypt-ruby,abstract,tilt,hike,multimap,json_pure,json,net-scp\r\n    HTTP Success\r\n    .Query List: [\"polyglot\", \"facets\", \"spruz\", \"net-ssh\"]\r\n    Query Gemcutter Dependency Endpoint API: polyglot facets spruz net-ssh\r\n    Fetching from: http://rubygems.org/api/v1/dependencies?gems=polyglot,facets,spruz,net-ssh\r\n    HTTP Success\r\n    .Query List: [\"needle\"]\r\n    Query Gemcutter Dependency Endpoint API: needle\r\n    Fetching from: http://rubygems.org/api/v1/dependencies?gems=needle\r\n    HTTP Success\r\n    .Query List: []\r\n    \r\n    Unmet Dependencies: rubiii-apricoteatsgorilla\r\n    Fetching dependency information from the API at http://rubygems.org/Query List: [\"rubiii-apricoteatsgorilla\"]\r\n    Query Gemcutter Dependency Endpoint API: rubiii-apricoteatsgorilla\r\n    Fetching from: http://rubygems.org/api/v1/dependencies?gems=rubiii-apricoteatsgorilla\r\n    HTTP Success\r\n    Fetching dependency information from the API at http://rubygems.org/Query List: []\r\n\r\nFrom here, it stays stuck forever. I even let it \"do\" whatever it tries to do for over an hour, without any progress.\r\n\r\n\r\n\r\nHere is my Gemfile :\r\n\r\n```ruby\r\nsource \"http://rubygems.org\"\r\n\r\n# Specify your gem's dependencies in wishbed.gemspec\r\ngemspec\r\n```\r\n\r\nAnd my gemspec :\r\n\r\n```ruby\r\n\r\n# -*- encoding: utf-8 -*-\r\n$:.push File.expand_path(\"../lib\", __FILE__)\r\nrequire \"my_gem/version\"\r\n\r\nGem::Specification.new do |s|\r\n  s.name        = \"my_gem\"\r\n  s.version     = MyGem::VERSION\r\n  s.platform    = Gem::Platform::RUBY\r\n  s.authors     = [\"authors\"]\r\n  s.email       = [\"email\"]\r\n  s.homepage    = \"\"\r\n  s.summary     = %q{sumamry}\r\n  s.description = %q{description}\r\n\r\n  s.files         = `git ls-files`.split(\"\\n\")\r\n  s.test_files    = `git ls-files -- {test,spec,features}/*`.split(\"\\n\")\r\n  s.executables   = `git ls-files -- bin/*`.split(\"\\n\").map{ |f| File.basename(f) }\r\n  s.require_paths = [\"lib\"]\r\n\r\n  s.add_dependency 'geokit', '~> 1.5'\r\n  s.add_dependency 'geokit-rails3', '~> 0.1'\r\n  s.add_dependency \"airbrake\", \"~> 3.0\"\r\n  s.add_dependency 'rest-client', '~> 1.6.7'\r\n  s.add_dependency \"savon\", \"~> 0.9.7\"\r\n  s.add_dependency 'handsoap', '~> 1.1'\r\n  s.add_dependency 'curb', '~> 0.7.15'\r\n  s.add_dependency 'roxml', '~> 3.1.6'\r\n  s.add_dependency 'hashie', '~> 1.1'\r\nend\r\n```\r\n\r\n\r\nLet me know if I can do something else to help figure this out.\r\n\r\n\r\nThanks you very much for the support and the great work on Bundler.","assignee":null,"id":1723967,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1450,"labels":[],"title":"Bundler is stuck and eats all my CPU","html_url":"https://github.com/carlhuda/bundler/issues/1450","closed_at":null,"url":"https://api.github.com/repos/carlhuda/bundler/issues/1450","milestone":null},"action":"created","comment":{"created_at":"2011-12-05T19:35:25Z","updated_at":"2011-12-05T19:35:25Z","user":{"gravatar_id":"7d1caf9df777b3b2cf474ff743494335","id":5142,"url":"https://api.github.com/users/jlecour","avatar_url":"https://secure.gravatar.com/avatar/7d1caf9df777b3b2cf474ff743494335?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jlecour"},"body":"As @indirected supposed, in my case, there was a dependency loop.\r\n\r\nI 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.","id":3021859,"url":"https://api.github.com/repos/carlhuda/bundler/issues/comments/3021859"}}