# File lib/rubygems/remote_installer.rb, line 183 def download_gem(destination_file, source, spec) return if File.exist? destination_file uri = source + "/gems/#{spec.full_name}.gem" response = Gem::RemoteFetcher.fetcher.fetch_path uri write_gem_to_file response, destination_file end