Project

General

Profile

Bug #4405 ยป threadsys.rb

Recreates the exception from WIN32OLE - larsch (Lars Christensen), 02/17/2011 05:45 PM

 
1
require 'drb'
2
require 'win32ole'
3
class Server
4
  def serve
5
    WIN32OLE.connect("winmgmts://localhost/root/cimv2")
6
  end
7
end
8
server = Server.new
9
DRb.start_service("druby://:2002", server)
10
s = DRbObject.new(nil, "druby://localhost:2002")
11
p s.serve