End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#base_dir
base_dir
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/basic_specification.rb, line 65
def base_dir
raise NotImplementedError
end
Returns the full path to the base gem directory.
eg: /usr/local/lib/ruby/gems/1.8
See also
#activated?
#contains_requirable_file?
.new
#datadir
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0