method

download_gem

download_gem(spec, uri, path)
public

No documentation available.

# File lib/bundler/rubygems_integration.rb, line 331
    def download_gem(spec, uri, path)
      uri = Bundler.settings.mirror_for(uri)
      fetcher = Gem::RemoteFetcher.new(configuration[:http_proxy])
      Bundler::Retry.new("download gem from #{uri}").attempts do
        fetcher.download(spec, uri, path)
      end
    end