Return an array of extra arguments for the command. The extra arguments come from the gem configuration file read at program startup.
Adds extra args from ~/.gemrc
List of gem file names to index.
Make directories for index generation
True if the gems in the system satisfy dependency
.
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 this 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
.
Extra files to add to RDoc
such as README or doc/examples.txt
When the user elects to generate the RDoc
documentation for a gem (typically at install time), all the library files are sent to RDoc
for processing. This option allows you to have some non-code files included for a more complete set of documentation.
Usage:
spec.extra_rdoc_files = ['README', 'doc/user-guide.txt']
Sets extra_rdoc_files
to files
, ensuring it is an array. Don’t use this, push onto the array instead.
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
Path to gem file