Converts this AvailableSet
into a RequestSet that can be used to install gems.
If development
is :none then no development dependencies are installed. Other options are :shallow for only direct development dependencies of the gems in this set or :all for all development dependencies.
Return true if this spec can require file
.
The full path to the gem (install path + full name).
Full paths in the gem to add to $LOAD_PATH
when this gem is activated.
Returns a string usable in Dir.glob
to match all requirable paths for this spec.
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
Set
a specific host’s API key to api_key
Remove the +~/.gem/credentials+ file to clear all the current sessions.
The name of the configuration file.
Build a single index for RubyGems 1.2 and newer
Builds indices for RubyGems 1.2 and newer. Handles full, latest, prerelease
Creates the symlinks to run the applications in the gem. Moves the symlink if the gem being installed has a newer version.
Return the text for an application file.
return the stub script text used to launch the true Ruby script
The path where installed executables live
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
.
Split the Gem search path (as reported by Gem.path
).