Override to display the default values of the command options. (similar to arguments
, but displays the default values).
For example:
def defaults_str --no-gems-first --no-all end
Extracts only the bin/ files from the gem into the gem directory. This is used by default gems to allow a gem-aware stub to function without the full gem installed.
Creates an installer for spec
that will install into gem_home
. If user
is true a user-install will be performed.
Verifies entry
in a .gem file.
Call hooks on installed gems
Builds and installs the Gem::Specification
spec
Uninstalls the Gem::Specification
spec
Install the provided specs
Uninstalls gem spec
Display a warning on stderr. Will ask question
if it is not nil.
Terminate the application with exit code status
, running any exit handlers that might have been defined.
do nothing
Checks the user
and password
.
If password
is not provided, then user
is split, using URI::Generic.split_userinfo
, to pull user
and +password.
See also URI::Generic.check_user
, URI::Generic.check_password
.
Protected setter for the user
component, and password
if available (with validation).
See also URI::Generic.userinfo=
.
Returns the userinfo ui
as [user, password]
if properly formatted as ‘user:password’.
Private setter for attributes val
.
The response’s HTTP status line