Load a dependency management file.
Regenerates plugin wrappers after removal.
Display an error message in a location expected to get error messages. Will ask question
if it is not nil.
Terminate the application with exit code status
, running any exit handlers that might have been defined.
Return a progress reporter object chosen from the current verbosity.
Return a download reporter object chosen from the current verbosity
Merges a base path base
, with relative path rel
, returns a modified base path.
Generates a new key (pair).
If a String
is given as the first argument, it generates a new random key for the algorithm specified by the name just as ::generate_parameters
does. If an OpenSSL::PKey::PKey
is given instead, it generates a new random key for the same algorithm as the key, using the parameters the key contains.
See ::generate_parameters
for the details of options and the given block.
pkey_params = OpenSSL::PKey.generate_parameters("DSA", "dsa_paramgen_bits" => 2048) pkey_params.priv_key #=> nil pkey = OpenSSL::PKey.generate_key(pkey_params) pkey.priv_key #=> #<OpenSSL::BN 6277...
Generates a mask bit for a priority level. See mask=
Generates a mask value for priority levels at or below the level specified. See mask=
Open a server listening for connections at uri
with configuration config
.
The DRbProtocol
module asks each registered protocol in turn to try to open a server at the URI
. Each protocol signals that it does not handle that URI
by raising a DRbBadScheme
error. If no protocol recognises the URI
, then a DRbBadURI
error is raised. If a protocol accepts the URI
, but an error occurs in opening it, the underlying error is passed on to the caller.
Open a server listening for connections at uri
with configuration config
.
The DRbProtocol
module asks each registered protocol in turn to try to open a server at the URI
. Each protocol signals that it does not handle that URI
by raising a DRbBadScheme
error. If no protocol recognises the URI
, then a DRbBadURI
error is raised. If a protocol accepts the URI
, but an error occurs in opening it, the underlying error is passed on to the caller.
Notifies observers of a change in state. See also Observable#notify_observers
Message to promote available RubyGems update with related gem update command.
Displays an error statement
to the error output location. Asks a question
if given.
Terminates the RubyGems process with the given exit_code
Change the current process’s real and effective user ID to that specified by user. Returns the new user ID. Not available on all platforms.
[Process.uid, Process.euid] #=> [0, 0] Process::UID.change_privilege(31) #=> 31 [Process.uid, Process.euid] #=> [31, 31]