same as Ractor.receive
When RubyGems is required, Kernel#require
is replaced with our own which is capable of loading gems on demand.
When you call require 'x'
, this is what happens:
If the file can be loaded from the existing Ruby
loadpath, it is.
Otherwise, installed gems are searched for a file that matches. If it’s found in gem ‘y’, that gem is activated (added to the loadpath).
The normal require
functionality of returning false if that file has already been loaded is preserved.
Refresh available gems from disk.
Returns location objects associated with the AST node. The returned array contains RubyVM::AbstractSyntaxTree::Location
.
Gets various OpenSSL options.
Sets various OpenSSL options. The options are a bit field and can be combined with the bitwise OR operator (|
). Available options are defined as constants in OpenSSL::SSL
that begin with OP_
.
For backwards compatibility, passing nil
has the same effect as passing OpenSSL::SSL::OP_ALL.
See also man page SSL_CTX_set_options(3).
Initiates an SSL/TLS handshake with a server.
Configure the columns field for this repository and return self.
A list of file names contained in this gem
True if the requested gem has already been installed.
Installing a git gem only involves building the extensions and generating the executables.
This is a null install as this specification is already installed. options
are ignored.
This is a null install as a locked specification is considered installed. options
are ignored.
Installs this specification using the Gem::Installer
options
. The install method yields a Gem::Installer
instance, which indicates the gem will be installed, or nil
, which indicates the gem is already installed.
After installation spec
is updated to point to the just-installed specification.
This is a null install as this gem was unpacked into a directory. options
are ignored.
Configure the code unit columns field for this repository for a specific encoding and return self.
Visit an individual part of a string-like node.
The start column in code units using the given cache to fetch or calculate the value.
Resolve the requested dependencies against the gems available via Gem.path
and return an Array
of Specification objects to be activated.