1. #start this first
  2. require 'rinda/ring'
  3. require 'rinda/tuplespace'
  4.  
  5. DRb.start_service
  6.  
  7. # Create a TupleSpace to hold named services, and start running
  8. Rinda::RingServer.new Rinda::TupleSpace.new
  9.  
  10. # Wait until the user explicitly kills the server.
  11. DRb.thread.join