diff options
Diffstat (limited to 'lib/rubygems/commands/setup_command.rb')
-rw-r--r-- | lib/rubygems/commands/setup_command.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb index 288be22f31..b7fb62cf53 100644 --- a/lib/rubygems/commands/setup_command.rb +++ b/lib/rubygems/commands/setup_command.rb @@ -118,8 +118,6 @@ By default, this RubyGems will install gem as: remove_old_bin_files bin_dir - remove_source_caches install_destdir - say "RubyGems #{Gem::VERSION} installed" uninstall_old_gemcutter @@ -335,21 +333,6 @@ abort "#{deprecation_message}" end end - def remove_source_caches(install_destdir) - if install_destdir.empty? - require 'rubygems/source_info_cache' - - user_cache_file = File.join(install_destdir, - Gem::SourceInfoCache.user_cache_file) - system_cache_file = File.join(install_destdir, - Gem::SourceInfoCache.system_cache_file) - - say "Removing old source_cache files" if Gem.configuration.really_verbose - rm_f user_cache_file if File.writable? File.dirname(user_cache_file) - rm_f system_cache_file if File.writable? File.dirname(system_cache_file) - end - end - def run_rdoc(*args) begin gem 'rdoc' |