require 'drb' DRb.start_service module Luruju class LurujuClient def initialize() init end def marshal(jude_file, options={}) @drb_object.marshal jude_file, options end def shutdown_server() @drb_object.shutdown end def self.shutdown_server() new.shutdown_server end protected def init @drb_object = DRbObject.new_with_uri "druby://127.0.0.1:#{Luruju.config.drb_port}" end end end