I have a gem, which depends on an other gem, which is on my server.
So, the gem is like:
gem ‘scriptingutils’, ‘>= 0.0.4’
In the .gemspec file I have:
and in the top directory, where the Rakefile is, I have a file Gemfile,
gem “scriptingutils”, “>= 0.0.4”
Still, when I try to install, I get the message:
ERROR: While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: hello requires scriptingutils
It helps when I first run:
gem sources --add http://wybo.xs4all.nl/wdgems/
But that information is already in the Gemfile, and I don’t want users
of the gem to add that source explicitly, of course. How can I make gem
to read the Gemfile?