Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem::Installer.for_spec

for_spec(spec, options = {})

Construct an installer object for an ephemeral gem (one where we don’t actually have a .gem file, just a spec)

See also .exec_format .new .at #app_script_text also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0