Hi there,
I tried to use the drb lib that comes with 1.8.0 preview3. I got the
following error from the client:
/usr/local/lib/ruby/1.8/drb/drb.rb:252:in addr': getnameinfo: ai_family not supported (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:252:in
open_server’
from /usr/local/lib/ruby/1.8/drb/drb.rb:184:in open_server' from /usr/local/lib/ruby/1.8/drb/drb.rb:182:in
each’
from /usr/local/lib/ruby/1.8/drb/drb.rb:182:in open_server' from /usr/local/lib/ruby/1.8/drb/drb.rb:542:in
initialize’
from /usr/local/lib/ruby/1.8/drb/drb.rb:784:in new' from /usr/local/lib/ruby/1.8/drb/drb.rb:784:in
start_service’
here are some code snippets…
server code:
DRb.start_service(“druby://127.0.0.1:9000”, {})
DRb.start_service(“druby://127.0.0.1:9001”, {})
client code:
DRb.start_service <-------- ERROR
$application = DRbObject.new(nil, ‘druby://127.0.0.1:9000’)
$sessions = DRbObject.new(nil, “druby://127.0.0.1:9001”)
thanks in advance for any idea,
-g.