Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
True if the gems in the system satisfy dependency
.
Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
return the stub script text used to launch the true Ruby
script
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
.
Find
the best specification matching a name
and requirements
. Raises if the dependency doesn’t resolve to a valid specification.
Return the best specification that contains the file matching path
.
Returns the full path to the build info directory
Returns the full path to the file containing the build information generated when the gem was installed
Finds all gems that satisfy dep
Expire memoized instance variables that can incorrectly generate, replace or miss files due changes in certain attributes used to compute them.
Return the best specification in the record that contains the file matching path
.
Creates a TargetRbConfig
for the platform that RubyGems is running on.
@return true if the specs of any default gems are ‘==` to the given `spec`.
Scan blocks based on indentation of next line above/below block
Determines indentaion of the next line above/below the current block.
Normally this is called when a block has expanded to capture all “neighbors” at the same (or greater) indentation and needs to expand out. For example the ‘def/end` lines surrounding a method.