Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Installer#write_cache_file
write_cache_file
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/installer.rb, line 958
def write_cache_file
cache_file = File.join gem_home, "cache", spec.file_name
@package.copy_to cache_file
end
Writes the .gem file to the cache directory
See also
#write_build_info_file
#write_default_spec
#windows_stub_script
#write_spec
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0