carlhuda/bundler — Issue #1480: :git and :branch can not be specified in add_dependency
Author: acesuares
Created: 2011-10-12 10:14:44+00:00
State: open

In Gemfile, one can specify:

gem 'will_paginate', :git => 'git://github.com/acesuares/will_paginate.git', :branch => 'rails3'

but in project.gemspec, this can not be done with add_xxx_dependency

Of course, in the Gemfile, one can still specify the :git and :branch, but these are NOT added to the depency chain.

So, after bundle install, all the gems added with add_xxx_depency are there, but not the ones in the Gemfile.