Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Installer#dir
dir
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/installer.rb, line 882
def dir
gem_dir.to_s
end
Return the target directory where the gem is to be installed. This directory is not guaranteed to be populated.
See also
#default_spec_file
#ensure_dependency
#build_extensions
#ensure_loadable_spec
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0