An English
description of the error.
Compress filename
with extension
.
Installs the gem and returns a loaded Gem::Specification
for the installed gem.
The gem will be installed with the following structure:
@gem_home/ cache/<gem-version>.gem #=> a cached copy of the installed gem gems/<gem-version>/... #=> extracted files specifications/<gem-version>.gemspec #=> the Gem::Specification
Convert back to the [name, version, platform] tuple
Resets HTTP connection connection
.
Add deps
Gem::Dependency
objects to the set.
Installs gems for this RequestSet
using the Gem::Installer
options
.
If a block
is given an activation request
and installer
are yielded. The installer
will be nil
if a gem matching the request was already installed.
Resolve the requested dependencies and return an Array
of Specification objects to be activated.
Factory method to create a Gem::Requirement
object. Input may be a Version, a String
, or nil. Intended to simplify client code.
If the input is “weird”, the default version requirement is returned.
Factory method to create a Version
object. Input may be a Version
or a String
. Intended to simplify client code.
ver1 = Version.create('1.3.17') # -> (Version object) ver2 = Version.create(ver1) # -> (ver1) ver3 = Version.create(nil) # -> nil
The release for this version (e.g. 1.2.0.a -> 1.2.0). Non-prerelease versions return themselves.
Proceed with resolution! Returns an array of ActivationRequest
objects.
Creates server sockets based on the addresses option. If no addresses were given a server socket for all interfaces is created.
Replaces this SourceList
with the sources in other
See <<
for acceptable items in other
.
Returns the first source in the list.
Sets the vendordir entry in RbConfig::CONFIG to value
and restores the original value when the block ends
Performs the uninstall of the gem. This removes the spec, the Gem directory, and the cached .gem file.
the spec of the gem to be uninstalled
the list of all such gems
Warning: this method modifies the list
parameter. Once it has uninstalled a gem, it is removed from that list.
Normalize the URI
by adding “http://” if it is missing.