Add irs_process_scripts plugin to replace process control scripts used

by live site which were dropped in rails 2.3 core.
This commit is contained in:
Tom Hughes 2009-06-15 11:32:41 +00:00
parent 00da8a9712
commit 719a06fdfa
14 changed files with 522 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# Install hook code here
unless defined?(RAILS_ROOT)
$stderr.puts "$0 must be run from RAILS_ROOT with -rconfig/boot"
exit
end
require 'fileutils'
FileUtils.rm_rf(RAILS_ROOT + '/script/process') # remove the old stubs first
FileUtils.cp_r(RAILS_ROOT + '/vendor/plugins/irs_process_scripts/script', RAILS_ROOT + '/script/process')