- server.rb
require 'drb' obj = ["drb", "server", "dog", "cat", "rat"] DRb.start_service( "druby://localhost:8787", obj ) DRb.thread.join
- client.rb
require 'drb' DRb.start_service obj = DRbObject.new_with_uri("druby://localhost:8787") obj.each do |i| p i end