> m> Do you want to distribute two or more objects by one server?
> [snip]
> 
> i'm trying to make a server which returns the uri of newly created (in master
> server) drb servers.

hmm...

#--- s2.rb
require 'drb/drb'

class Distributed
  class AlsoDistributed
    def name
      inspect
    end
  end

  def get_object
    ad = AlsoDistributed.new
    server = DRb::DRbServer.new(nil, ad)
    DRbObject.new(nil, server.uri)
  end
end

DRb.start_service('druby://localhost:12345', Distributed.new)
DRb.thread.join


#--- c2.rb
require 'drb/drb'

DRb.start_service

ro = DRbObject.new(nil, 'druby://localhost:12345')
p ro

it = ro.get_object
p it
p it.name

it = ro.get_object
p it
p it.name