There can be a problem with the DRb system in Ruby on Gentoo and the IPv6 support.
If an application with DRb does not work and its error message is:
Exception `SocketError' at /usr/lib/ruby/1.8/drb/drb.rb:840 - getnameinfo: ai_family not supported
/usr/lib/ruby/1.8/drb/drb.rb:840:in `getaddrinfo': getnameinfo: ai_family not supported (SocketError)
-
Exception `SocketError’ at /usr/lib/ruby/1.8/drb/drb.rb:840 – getnameinfo: ai_family not supported
-
/usr/lib/ruby/1.8/drb/drb.rb:840:in `getaddrinfo’: getnameinfo: ai_family not supported (SocketError)
then it is necessary to re-compile the ruby
package with the ipv6
support, even you did not compile the IPv6 support into your kernel (or it is compiled as a module but it is not loaded).
(There is more where this came from … )