jsgarvin / irs_process_scripts forked from rails/irs_process_scripts

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

This URL has Read+Write access

irs_process_scripts / uninstall.rb
100644 8 lines (7 sloc) 0.199 kb
1
2
3
4
5
6
7
8
# 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')