End of Life Ruby 3.0 has reached end of life and gets no more fixes. 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.0.5/lib/rubygems/installer.rb, line 943
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.3 · 3.2 · 3.1