# File lib/spec/runner/drb_command_line.rb, line 9 def self.run(options) begin begin; \ DRb.start_service("druby://localhost:0"); \ rescue SocketError; \ DRb.start_service("druby://:0"); \ end spec_server = DRbObject.new_with_uri("druby://127.0.0.1:8989") spec_server.run(options.argv, options.error_stream, options.output_stream) true rescue DRb::DRbConnError options.error_stream.puts "No server is running" false end end