I\'m reading lines of input on a TCP socket, similar to this:
class Bla def getcmd @sock.gets unless @sock.closed? end def start srv =
I simply pgrep "ruby" to find the pid, and kill -9 the pid and restart.