{"comment":{"created_at":"2011-10-25T11:41:40Z","body":"Of course, if you have the time to work around this, any kind of help could be good.","updated_at":"2011-10-25T11:41:40Z","url":"https://api.github.com/repos/guillermo/rake-hooks/issues/comments/2515957","id":2515957,"user":{"avatar_url":"https://secure.gravatar.com/avatar/39086eb3d9a1437276d07c08ea0c3821?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"39086eb3d9a1437276d07c08ea0c3821","url":"https://api.github.com/users/guillermo","id":7533,"login":"guillermo"}},"action":"created","issue":{"number":2,"created_at":"2011-09-09T06:24:16Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I've isolated a Gemspec issue with Heroku.\r\n\r\nGiven an empty repository with a `Gemfile` with:\r\n\r\n```ruby\r\nsource :rubygems\r\n\r\ngem 'rake-hooks'\r\n```\r\n\r\nA Heroku deploy runs into this Bundler error:\r\n\r\n```\r\n-----> Heroku receiving push\r\n-----> Ruby app detected\r\n-----> Installing dependencies using Bundler version 1.1.pre.8\r\n       Running: bundle install --without development:test --path vendor/bundle --deployment\r\n       Fetching dependency information from the API at http://rubygems.org/Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!\r\n       /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:72:in `parse': Illformed requirement [\"#<YAML::Syck::DefaultKey:0xc04b918> 0.9.2\"] (ArgumentError)\r\n       from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:97:in `block in initialize'\r\n       from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:97:in `map!'\r\n       from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:97:in `initialize'\r\n       from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:35:in `new'\r\n       from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:35:in `create'\r\n       from /usr/local/lib/ruby/1.9.1/rubygems/dependency.rb:61:in `initialize'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:151:in `new'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:151:in `block (2 levels) in fetch_dependency_remote_specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:149:in `map'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:149:in `block in fetch_dependency_remote_specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:148:in `map'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:148:in `fetch_dependency_remote_specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:98:in `fetch_remote_specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/fetcher.rb:64:in `specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/source.rb:225:in `block in remote_specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/source.rb:223:in `each'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/source.rb:223:in `remote_specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/source.rb:156:in `fetch_specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/source.rb:70:in `specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/lazy_specification.rb:48:in `__materialize__'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/spec_set.rb:86:in `block in materialize'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/spec_set.rb:83:in `map!'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/spec_set.rb:83:in `materialize'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/definition.rb:90:in `specs'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/definition.rb:85:in `resolve_remotely!'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/installer.rb:48:in `run'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/installer.rb:12:in `install'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/cli.rb:213:in `install'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/vendor/thor/task.rb:22:in `run'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/vendor/thor.rb:263:in `dispatch'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/lib/bundler/vendor/thor/base.rb:386:in `start'\r\n       from /tmp/build_221ob0xm939ux/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.8/bin/bundle:13:in `<top (required)>'\r\n       from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `load'\r\n       from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `<main>'\r\n !\r\n !     Failed to install gems via Bundler.\r\n```\r\n\r\nThe Gemspec needs to be fixed somehow. I tried a few different things but I've had no luck.\r\n\r\nThere are some [notes from tenderlove on the RubyGems blog](http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yacc.html) on the subject, and some notes on [this issue](https://github.com/carlhuda/bundler/issues/1392).","comments":7,"title":"Bad gemspec format on Heroku","updated_at":"2011-10-25T11:41:41Z","url":"https://api.github.com/repos/guillermo/rake-hooks/issues/2","id":1605429,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/39086eb3d9a1437276d07c08ea0c3821?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"39086eb3d9a1437276d07c08ea0c3821","url":"https://api.github.com/users/guillermo","id":7533,"login":"guillermo"},"milestone":null,"closed_at":"2011-10-25T11:40:32Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/ca3dc3f93730afb41d6753d8bf010a38?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ca3dc3f93730afb41d6753d8bf010a38","url":"https://api.github.com/users/Aupajo","id":14123,"login":"Aupajo"},"html_url":"https://github.com/guillermo/rake-hooks/issues/2","labels":[],"state":"closed"},"legacy":{"issue_id":1605429,"comment_id":2515957}}