jsgarvin / irs_process_scripts forked from rails/irs_process_scripts

The extracted inspector, reaper, and spawner scripts from script/process/*

irs_process_scripts / install.rb
100644 11 lines (9 sloc) 0.328 kb
1
2
3
4
5
6
7
8
9
10
11
# Install hook code here
unless defined?(RAILS_ROOT)
  $stderr.puts "$0 must be run from RAILS_ROOT with -rconfig/boot"
  exit
end
 
require 'fileutils'
['reaper','spawner','inspector'].each do |filename|
  FileUtils.cp_r(RAILS_ROOT + '/vendor/plugins/irs_process_scripts/script/' + filename, RAILS_ROOT + '/script/process')
end