Skip to content

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

instance method

Gem::BasicSpecification#base_dir

base_dir

Returns the full path to the base gem directory.

eg: /usr/local/lib/ruby/gems/1.8