Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove hardcoded path to reaper script in script/server.

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 54523831741ae443152055107fbb80c8b698a9d8 1 parent c7d6d68
@jeremy jeremy authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  railties/CHANGELOG
  2. +2 −2 railties/lib/commands/servers/lighttpd.rb
2  railties/CHANGELOG
@@ -1,5 +1,7 @@
+* Remove hardcoded path to reaper script in script/server [Jeremy Kemper]
* Update to V1.5.3 [Thomas Fuchs]
* Added SIGTRAP signal handler to RailsFCGIHandler that'll force the process into a breakpoint after the next request. This breakpoint can then be caught with script/breakpointer and give you access to the Ruby image inside that process. Useful for debugging memory leaks among other things [DHH]
4 railties/lib/commands/servers/lighttpd.rb
@@ -67,7 +67,7 @@
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'
Please sign in to comment.
Something went wrong with that request. Please try again.