End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#extension_dir
extension_dir
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/basic_specification.rb, line 97
def extension_dir
@extension_dir ||= File.expand_path(File.join(extensions_dir, full_name)).tap(&Gem::UNTAINT)
end
Returns full path to the directory where gem’s extensions are installed.
See also
#default_gem?
#extensions_dir
#datadir
#full_gem_path
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1