method

install

ruby latest stable - Class: Gem::RequestSet
install(options, &block)
public

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.