write_cache_file()
Writes the .gem file to the cache directory
# File lib/rubygems/installer.rb, line 819 def write_cache_file cache_file = File.join gem_home, 'cache', spec.file_name FileUtils.cp @gem, cache_file unless File.exist? cache_file end