write_cache_file()
Writes the .gem file to the cache directory
# File lib/rubygems/installer.rb, line 890 def write_cache_file cache_file = File.join gem_home, 'cache', spec.file_name @package.copy_to cache_file end