Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
Check state file is writable. Creates empty file if not present to ensure we can write to it.
The name of the state file.
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.
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
Split the Gem search path (as reported by Gem.path
).
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.
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
Make sure the YAML
specification is properly formatted with dashes
Finds all gems that satisfy dep