Similar to the semantics of the :git option, the :path option
requires that the directory in question either contains a .gemspec
for the gem, or that you specify an explicit version that bundler
should use.
gem "rails", :path => "vendor/rails"
Casiano Rodriguez León 2015-01-07