Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

Gem::Ext::Builder.new

new(spec, build_args = spec.build_args)

Creates a new extension builder for spec. If the spec does not yet have build arguments, saved, set build_args which is an ARGV-style array.

See also .make .run .class_name #build_extensions also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0