Return an Array of Specifications contained within the gem_home
we’ll be installing into.
Writes the .gemspec specification (in Ruby) to the gem home’s specifications directory.
Reads the file index and extracts each file into the gem directory.
Ensures that files can’t be installed outside the gem directory.
Extracts only the bin/ files from the gem into the gem directory. This is used by default gems to allow a gem-aware stub to function without the full gem installed.
Creates an installer for spec
that will install into gem_home
. If user
is true a user-install will be performed.
Turn an array of [name, version, platform] into an array of NameTuple
objects.
Extracts the files in this package into destination_dir
If pattern
is specified, only entries matching that glob will be extracted.
Gzips content written to gz_io
to io
.
Verifies the files of the gem
Returns a Gem::StubSpecification
for installed gem named name
Return the latest specs, optionally including prerelease specs if prerelease
is true.
Returns the full path to this spec’s ri directory.
Builds and installs the Gem::Specification
spec
Uninstalls the Gem::Specification
spec
Writes a binary file to path
which is relative to +@gemhome+
Install the provided specs
Gzips data
.