The tag has no wiki summary.

learn more… | top users | synonyms

19
votes
3answers
6k views

Invalid gemspec -Illformed requirement [“#<YAML::Syck::DefaultKey:0xb5f9c990> 3.2.0”]

Invalid gemspec in [/usr/lib/ruby/gems/1.8/specifications/activemodel-3.2.0.gemspec]: Illformed requirement ["#<YAML::Syck::DefaultKey:0xb5f9c990> 3.2.0"] From trying to do a sudo gem update ...
5
votes
2answers
1k views

Attemping to vendorize a gem into bundler with Rails 3, but Gem has no Gemspec

Following these easy steps: gem unpack spree_easy_contact -v 1.0.2 --target vendor/gems Unpacked gem: '../vendor/gems/spree_easy_contact-1.0.2' And then in my Gemfile I add this line : gem ...
16
votes
1answer
5k views

Ruby Gemspec Dependency: Is possible have a git branch dependency?

Is possible have a git branch dependency, inside mygem.gemspec ? I'm thinking something similar to the following: gem.add_runtime_dependency 'oauth2', :git => '[email protected]:lgs/oauth2.git' ...
0
votes
2answers
314 views

How to add dependency of a local gem to a rails plugin/engine, in .gemspec file

I had tried in this way: s.add_dependency 'gem', :path => '../gem' like add gem in the gemfile, but it doesn't work, and will cause this error: ...
0
votes
2answers
2k views

WARNING: Invalid .gemspec format in '/Library/Ruby/Gems/1.8/specifications/rack-1.3.5.gemspec'

I am trying to run a Sinatra app, and am failing because rack isn't being found. I am getting the following error: WARNING: Invalid .gemspec format in ...