oggy / looksee

Supercharged method introspection in IRB
MIT License
364 stars 14 forks source link

Invalid gemspec created when installing looksee 1.0.3 #15

Closed danhorst closed 13 years ago

danhorst commented 13 years ago

Gemspec created when installing looksee 1.0.3: https://gist.github.com/1207464 The YAML objects present in the conditional block from line 21 to 37 are not valid. This causes any call to the 'gem' command to throw the following error: Invalid gemspec in [/PATH/TO/GEMS/ruby-1.8.7-p302/specifications/looksee-1.0.3.gemspec]: Illformed requirement ["#<YAML::Syck::DefaultKey:0x7fb59006c528> 0.3.0"]

Environment: ruby: 1.8.7-p302 rubygems: 1.5.3

oggy commented 13 years ago

This is a rubygems bug: http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yacc.html

Please upgrade Rubygems and reinstall.

danhorst commented 13 years ago

Thanks! Sorry, about that.

ggarnier commented 13 years ago

The link to Rubygems blog is incorrect, it should be http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html

artemv commented 13 years ago

And if you're uhappy with latest rubygems (e.g. it doesn't work with my rails 2.2 app), you can rollback to earlier rubygems version after installing looksee under latest rubygems - it will still work.

map7 commented 13 years ago

I still had the same problem after using rubygems 1.8.11, but once I added this to my Gemfile and started a new gemset the error went away.

gem 'looksee', :git => "https://github.com/oggy/looksee"