End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Installer#dir
dir
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/installer.rb, line 875
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.4 · 3.3 · 3.2 · 3.1