Bah, what a silly problem:

>filename = logs_dir + results[1] + ".log"


"results" does not exist.  I was missing it, because the exception was 
being raised and caught in an unrelated bit of code. So far, gserver is 
working perfectly for the task at hand.
-- 
Posted via http://www.ruby-forum.com/.