require 'drb' require 'isrbot' trap ('INT') { exit } trap ('TERM') { exit } isrbot = ISRBot.new DRb.start_service('druby://localhost:9080', isrbot) DRb.thread.join