Managing a gem_server in a better way
Friday, September 8th, 2006
I needed a way to control my gem_server in a sensible way, and background it properly, so here’s a quick pinch from rails’ reaper.rb
[rbuy]
#!/usr/bin/env ruby
require ‘optparse’
if RUBY_PLATFORM =~ /mswin32/ then abort(”Reaper is only for Unix”) end
# Instances of this class represent a single running process. Processes may
# be queried by “keyword” to find those that […]



