Writes the full .gemspec specification (in Ruby) to the gem home’s specifications/default directory.
Performs various checks before installing the gem such as the install repository is writable and its directories exist, required Ruby and rubygems versions are met and that dependencies are installed.
Version and dependency checks are skipped if this install is forced.
The dependent check will be skipped if the install is ignoring dependencies.
Writes the .gem file to the cache directory
The path where installed executables live
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
.
TODO: move to minitest
TODO: move to minitest
Builds and installs the Gem::Specification
spec
into the user dir
Installs the provided default specs including writing the spec file
Install the provided default specs
Choose from a list of options. question
is a prompt displayed above the list. list
is a list of option strings. Returns the pair [option_name, option_index].
Given the path to a gem file, validates against its own MD5 checksum
String
Path to gem file
private functions
Defines a command, registering path
as a Shell
method for the given command
.
Shell::CommandProcessor.def_system_command "ls" #=> Defines ls. Shell::CommandProcessor.def_system_command "sys_sort", "sort" #=> Defines sys_sort as sort
Undefines a command
Returns the destination encoding name as a string.