]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/irs_process_scripts/install.rb
Merge branch 'master' of git://git.openstreetmap.org/rails into openstreetbugs
[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')