End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#gem_dir
gem_dir
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/basic_specification.rb, line 192
def gem_dir
@gem_dir ||= File.expand_path File.join(gems_dir, full_name)
end
Returns the full path to this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems/mygem-1.0
See also
#full_require_paths
#gems_dir
#full_name
#have_extensions?
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0