# File lib/bundler/source.rb, line 133 def download(spec) gemfile = Pathname.new(spec.loaded_from) gemfile = gemfile.dirname.join('..', 'cache', "#{spec.full_name}.gem") bundle.cache(gemfile) end