]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/irs_process_scripts/install.rb
Merged 16488:16743 from trunk.
[rails.git] / vendor / plugins / irs_process_scripts / install.rb
1 # Install hook code here
2 unless defined?(RAILS_ROOT)
3   $stderr.puts "$0 must be run from RAILS_ROOT with -rconfig/boot"
4   exit
5 end
6
7 require 'fileutils'
8 FileUtils.rm_rf(RAILS_ROOT + '/script/process') # remove the old stubs first
9 FileUtils.cp_r(RAILS_ROOT + '/vendor/plugins/irs_process_scripts/script', RAILS_ROOT + '/script/process')