Return true if this spec can require file
.
Return all files in this gem that match for glob
.
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
Builds Marshal
quick index gemspecs.
Build a single index for RubyGems 1.2 and newer
Builds indices for RubyGems 1.2 and newer. Handles full, latest, prerelease
Make directories for index generation
Combines specs in index
and source
then writes out a new copy to dest
. For a latest index, does not ensure the new file is minimal.
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 this install is ignoring dependencies.
Adds an executable named “executable” to spec
with the given shebang
.
The executable is also written to the bin dir in @tmpdir and the installed gem directory for spec
.
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