Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 435 Bytes
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
puts 'Installed--thank you for trying out faster_rubygems' # they never see this message tho...