From 54523831741ae443152055107fbb80c8b698a9d8 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 22 Feb 2006 22:43:43 +0000 Subject: Remove hardcoded path to reaper script in script/server. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/commands/servers/lighttpd.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib/commands/servers/lighttpd.rb') diff --git a/railties/lib/commands/servers/lighttpd.rb b/railties/lib/commands/servers/lighttpd.rb index efb7bb1c27..96304a75c1 100644 --- a/railties/lib/commands/servers/lighttpd.rb +++ b/railties/lib/commands/servers/lighttpd.rb @@ -67,7 +67,7 @@ ensure puts 'Exiting' # Ensure FCGI processes are reaped - path_to_ruby = "#{Config::CONFIG['bindir']}/#{Config::CONFIG['ruby_install_name']}" - `#{path_to_ruby} #{RAILS_ROOT}/script/process/reaper -a kill` + ARGV.replace ['-a', 'kill'] + require 'commands/process/reaper' end end -- cgit v1.2.3