Returns the RubyGems.org API key
Sets the RubyGems.org API key to api_key
Builds Marshal
quick index gemspecs.
Build a single index for RubyGems 1.2 and newer
Builds indices for RubyGems 1.2 and newer. Handles full, latest, prerelease
List of gem file names to index.
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
Prefix and suffix the program filename the same as ruby.
Creates the following instance variables:
a spec named ‘a’, intended for regular installs
the path to a built gem from @spec
And returns a Gem::Installer
for the @spec that installs into @gemhome
Creates the following instance variables:
a spec named ‘a’, intended for regular installs
And returns a gem built for the @spec
Sets up the base @gem, builds it and returns an installer for it.
Builds the @spec gem and returns an installer for it. The built gem includes:
bin/executable lib/code.rb ext/a/mkrf_conf.rb
Split the Gem search path (as reported by Gem.path
).
Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.
we have our own signing code here to avoid a dependency on the aws-sdk gem
Installs from the gem dependencies files in the :gemdeps
option in options
, yielding to the block
as in install
.
If :without_groups
is given in the options
, those groups in the gem dependencies file are not used. See Gem::Installer
for other options
.
Creates a Resolver
that queries only against the already installed gems for the needed
dependencies.
TODO: move to minitest
Builds a gem from spec
and places it in File.join @gemhome, 'cache'
. Automatically creates files based on spec.files
Removes all installed gems from +@gemhome+.