I was was receiving the following error when trying to install SimpleCov 0.5.0:
Invalid gemspec in [/Users/jspradlin/.rvm/gems/ruby-1.9.2-p180@jonesy/specifications/simplecov-0.5.0.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x00000109f9e4f8 2.10.3"]
I updated the simplecov.gemspec file to install shoulda as a development dependency using the following syntax:
s.add_development_dependency "shoulda", "~> 2.10.3"
s.add_development_dependency "shoulda", "2.10.3"
After making this change I was able to install simplecov 0.5.0 without any problems. I ran all of the test and everything still passes.
My environment is
Edited simplecov.gemspec via GitHub
Thanks, my bad!
@colszowka Actually, it's not your fault. This issue is covered in some more detail here: http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yacc.html
I'd recommend yanking 0.5.0 and releasing 0.5.1.
0.5.1 is out, thanks for the fix!