Creates an option parser and fills it in with the help info for the command.
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
Removes the gemspec matching full_name
from the dependency list
List of gem file names to index.
True if the gems in the system satisfy dependency
.
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
return the stub script text used to launch the true Ruby script
Prefix and suffix the program filename the same as ruby.
The path where installed executables live
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
Sets up the base @gem, builds it and returns an installer for it.
Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.
Find
and fetch gem name tuples that match dependency
.
If matching_platform
is false, gems for all platforms are returned.
Find
and fetch specs that match dependency
.
If matching_platform
is false, gems for all platforms are returned.
TODO: move to minitest
Builds and installs the Gem::Specification
spec
into the user dir