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.default_exec_format

() -> ::String
default_exec_format

Deduce Ruby’s –program-prefix and –program-suffix from its install name