DRB Program Error

Hai
I am trying to do DRB program
but the server program throws an error like
“Error:TestServer.rb:10: uninitialized constant Drb (NameError)”

These are my program

require ‘drb’
class TestServer
def doit
“Hello,Distributed World”
end
end

a=TestServer.new
DRb.start_service(‘druby://localhost:3000’,a)
Drb.thread.join


require ‘drb’
DRb.start_service()
obj=DRbObject.new(nil,‘druby://localhost:3000’)

p obj.doit


I dont know what is going wrong ,will anybody tell me the solution?

Ok
Bye
By
P.S.Hussain

Hussain wrote:

    "Hello,Distributed World"
end

end

a=TestServer.new
DRb.start_service(‘druby://localhost:3000’,a)
Drb.thread.join
^^^
DRb

It’s just a typo (and probably one many of us have made).

Hussain wrote:

“Error:TestServer.rb:10: uninitialized constant Drb (NameError)”

^^^

Drb.thread.join
^^^
DRb

I dont know what is going wrong ,will anybody tell me the solution?

Never to make typo errors?
Best regards,
Gerald