Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Specification.dirs
dirs
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/specification.rb, line 914
def self.dirs
@@dirs ||= Gem::SpecificationRecord.dirs_from(gem_path)
end
Return the directories that Specification uses to find specs.