Top "Gemspecs" questions

The gemspec file defines a Gem::Specification object.

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_…

ruby rubygems dependencies bundler gemspecs
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, …

ruby-on-rails plugins dependencies rails-engines gemspecs
Rails: Gemspec is not valid. Please fix this gemspec

When I install a gem from github it gives me the error: number_internationalizer at /usr/local/rvm/gems/ruby-1.9.3…

ruby-on-rails rubygems gemspecs
Specify a plugin as gem from github in Gemfile

I am including 'acts_as_rateable' gem in my Gemfile like this gem 'acts_as_rateable', :git => 'git://github.…

ruby-on-rails ruby-on-rails-3 rubygems bundler gemspecs
Trying to build a gem, getting a Gem::InvalidSpecificationException: "[...] are not files"

I'm trying to build a custom gem I wrote called client_package but it is failing. My directory structure looks …

ruby rubygems gem gemspecs
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"] …

ruby-on-rails ruby rspec gem gemspecs
How can I avoid bundlers warning about multiple sources when I have all gems in my .gemspec?

In my own gem, I have a Gemfile that looks basically like this: source 'https://my.gemserver.com' source 'https://…

ruby rubygems bundler gemspecs