Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Tenacity 0.5.6 gemspec format errors on heroku #38

Closed
bsedat opened this Issue May 2, 2012 · 7 comments

Comments

Projects
None yet
2 participants

bsedat commented May 2, 2012

I'm seeing the following types of errors when trying to upgrade the tenacity gem on a heroku (bamboo stack) app. 0.5.5 and previous versions seems to install just fine.

I'm thinking it's likely related to http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html. Heroku uses a pretty ancient version of bundler/rubygems.

(much more of the same, replacing all '=' in the gemspec with #<Syck::DefaultKey:0x000000091d6f60>)
2012-05-02T00:31:49+00:00 app[web.1]:     s.add_dependency(%q<adapter-mongo>, ["#<Syck::DefaultKey:0x000000091d6f60> 0.5.4"])
2012-05-02T00:31:49+00:00 app[web.1]:   end
2012-05-02T00:31:49+00:00 app[web.1]: end
2012-05-02T00:31:49+00:00 app[web.1]: WARNING:  Invalid .gemspec format in '/app/.bundle/gems/ruby/1.9.1/specifications/tenacity-0.5.6.gemspec'
2012-05-02T00:31:49+00:00 app[web.1]: Could not find tenacity-0.5.6 in any of the sources
Owner

jwood commented May 2, 2012

I just pushed a new commit to master (adb2a3b) that uses ~> to specify the development dependencies instead of =. Would you mind changing your Gemfile to point to master on github to see if it fixes your issue?

gem 'tenacity', :git => 'git@github.com:jwood/tenacity.git'

If it does, I will cut a new version of the gem.

bsedat commented May 2, 2012

I had to use 'https://github.com/jwood/tenacity.git' as the git target in order for heroku to be able to pull the source. But in the end your fix seems to work. Thanks for the quick fix and great job with the gem!

bsedat commented May 2, 2012

I had to use 'https://github.com/jwood/tenacity.git' as the git target in order for heroku to be able to pull the source. But in the end your fix seems to work. Thanks for the quick fix and great job with the gem!

Owner

jwood commented May 2, 2012

Glad that fixed it. I'll cut a new version of the gem now.

Owner

jwood commented May 2, 2012

Fixed in version 0.5.7

@jwood jwood closed this May 2, 2012

bsedat commented May 2, 2012

Confirmed that the new gem version works. Thank you very much again!

Owner

jwood commented May 2, 2012

No problem. Thanks for the bug report!

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