Bundler is a useful tool for managing dependencies, however the
Gem::Specification#add_dependency method does not work as
documented. Although it accepts an argument that allows the user to
specify the version information, it fetches the incorrect
dependency versions of gems upon installation. Is there a plan to
After I reviewed my previous post I realized two things. First,
I did not realize how terrible the formatting of my previous
comment was, and second I failed at expressing my concern in a
When I specify gem requirements using >= my expectation is
that if I already have a gem installed, which satisfies that
dependency, then it should not install newer versions of the gem.
In my previous example I have changed the paperclip specification
to use >= 2.3.10, which are already installed.
However, when I install them gem it installs for the latest
version (of some) of it's dependencies. In my case, it ignores
activerecord because I already have 2.3.10 installed but it seems
to ignore activesupport.
s.add_dependency 'activerecord', '>=2.3.10' s.add_dependency