From: Michael Neumann Date: 2002-08-25T00:30:53+09:00 Subject: Re: Using DRb on a Linux box ... On Thu, Aug 22, 2002 at 11:25:17PM +0900, Dale Martenson wrote: > When trying to use DRb on my Linux box (SuSE 7.3 running Ruby 1.6.7), I get > a SocketError indicating that getnameinfo: ai_family not supported. > > According to the "Ruby Developer's Guide", page 337, the fix for this is to > recompile Ruby with ./configure --enable-ipv6 --with-lookup-order-hack=INET. > I tried that and it didn't work!! Does that mean that the same "getnameinfo" error occured after recompiling ruby? > Looking at the DRbServer class, I noticed that if the uri parameter to the > initialize function is nil that the uri is set accordingly ... > > uri = 'drbuy://:0' unless uri > > shouldn't this be ... > > uri = 'druby://0.0.0.0:0' unless uri > > It seemed to solve the problem on my system. What is the correct solution? > Why did recompiling Ruby not work? > > Thanks!! Regards, Michael