Hi I am following:
http://segment7.net/projects/ruby/drb/introduction.html
the first program of manipulating array:
if I run server on a computer in LAN:
then I get it as:
druby://myMachine:54185
but when I run client as on a diffrent computer:
ruby client.rb druby://myMachine:54185
it gives error:
/usr/lib/ruby/1.8/drb/drb.rb:736:in open': druby://myMachine:54185 - #<SocketError: getaddrinfo: Name or service not known> (DRb::DRbConnError) from /usr/lib/ruby/1.8/drb/drb.rb:729:in
each’
from /usr/lib/ruby/1.8/drb/drb.rb:729:in open' from /usr/lib/ruby/1.8/drb/drb.rb:1191:in
initialize’
from /usr/lib/ruby/1.8/drb/drb.rb:1171:in new' from /usr/lib/ruby/1.8/drb/drb.rb:1171:in
open’
from /usr/lib/ruby/1.8/drb/drb.rb:1087:in method_missing' from /usr/lib/ruby/1.8/drb/drb.rb:1105:in
with_friend’
from /usr/lib/ruby/1.8/drb/drb.rb:1086:in `method_missing’
please help!