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:
parent
00da8a9712
commit
719a06fdfa
14 changed files with 522 additions and 0 deletions
9
vendor/plugins/irs_process_scripts/install.rb
vendored
Normal file
9
vendor/plugins/irs_process_scripts/install.rb
vendored
Normal 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')
|
Loading…
Add table
Add a link
Reference in a new issue