class Bundler::Fetcher
def fetch_all_remote_specs
def fetch_all_remote_specs Bundler.rubygems.sources = ["#{@remote_uri}"] Bundler.rubygems.fetch_all_remote_specs rescue Gem::RemoteFetcher::FetchError, OpenSSL::SSL::SSLError => e if e.message.match("certificate verify failed") raise CertificateFailureError.new(uri) else Bundler.ui.trace e raise HTTPError, "Could not fetch specs from #{uri}" end end