On Thu, 22 Aug 2002, 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!!
        [...]
> 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?

Would it be a big hassle to try this with ruby compiled without
those options?
                             without ...hack=INET   with ...hack=INET
        druby://:0                No                     No
        druby://0.0.0.0:0         ???                    yes

It may help people later.
>
> Thanks!!
>
        Hugh