Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Specification#cache_file
cache_file
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/specification.rb, line 1694
def cache_file
@cache_file ||= File.join cache_dir, "#{full_name}.gem"
end
Returns the full path to the cached gem for this spec.