Class | Gem::RemoteFetcher |
In: |
lib/rubygems/remote_fetcher.rb
|
Parent: | Object |
RemoteFetcher handles the details of fetching gems and gem information from a remote source.
BuiltinSSLCerts | = | File.expand_path("./ssl_certs/*.pem", File.dirname(__FILE__)) |
Initialize a remote fetcher using the source URI and possible proxy information.
proxy
variable setting
HTTP_PROXY_PASS)
Creates or an HTTP connection based on uri, or retrieves an existing connection, using a proxy if needed.
Moves the gem spec from source_uri to the cache dir unless it is already there. If the source_uri is local the gem cache dir copy is always replaced.
Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.
HTTP Fetcher. Dispatched by fetch_path. Use it instead.
Read the data from the (source based) URI, but if it is a file:// URI, read from the filesystem instead.