Sha256: 565ba88b8f7fa5965d3575b12eb38a47e79701488a79a16ba15c3f68e3963c7b
Contents?: true
Size: 435 Bytes
Versions: 9
Compression:
Stored size: 435 Bytes
Contents
require 'fileutils' require 'rbconfig' Dir.chdir File.dirname(__FILE__) + '/lib' do for file in Dir['*'] do next if file =~ /rubygems_plugin/ # don't want to copy that one over new_file = Config::CONFIG['sitelibdir'] + '/' + file FileUtils.rm_rf new_file if File.exist?(new_file) FileUtils.cp_r file, new_file end end puts 'Installed--thank you for trying out faster_rubygems' # they never see this message tho...
Version data entries
9 entries across 9 versions & 1 rubygems