Rubygems gotcha. Dependencies won’t work if you install with a local gemfile
The Problem
Dependencies won’t install when I try to install from a local gem. For example if you have a my-cool-project which
needs your-awesome-lib (available via Gems) using a command like:
gem install pkg/mycoolproject-1.0.gem
It WON’T pull in your-awesome-lib. This is documented in this email post on the Ruby Talk ML
Workarounds
At present the problem still exists and I can’t seem to find a bug related to it on Rubyforge (Perhaps a bug should be submitted?) so you can get around this by installing your dependencies first then installing your local gem
gem install -r your-awesome-lib
gem install pkg/my-cool-project-1.0.gem