Creates an option parser and fills it in with the help info for the command.
Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
Creates the symlinks to run the applications in the gem. Moves the symlink if the gem being installed has a newer version.
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
Prefix and suffix the program filename the same as ruby.
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.
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
.
Return the best specification that contains the file matching path
.
Return the latest installed spec for gem name
.
Specification
attributes that must be non-nil
Finds all gems that satisfy dep
@return true if the specs of any default gems are ‘==` to the given `spec`.
Helper method for grabbing elements from document
Like ‘take_while` except when it stops iterating, it also returns the line that caused it to stop