Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Gem::RequestSet#install

install(options) { |request, installer| ... }

Installs gems for this RequestSet using the Gem::Installer options.

If a block is given an activation request and installer are yielded. The installer will be nil if a gem matching the request was already installed.

See also #import #install_from_gemdeps #gem #install_hooks also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0