HP-UX ftp.rb:292:in `addr': getnameinfo: address family not supported (SocketError)

Hi all,
after I successfully installed ruby 1.8.7 on HP-UX 11.23 IA64 I was
trying to use Net::FTP class when I got this error:

/usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:292:in addr': getnameinfo: address family not supported (SocketError) from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:292:inmakeport’
from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:328:in
transfercmd' from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:424:inretrlines’
from /usr/local/lib/hpux64/ruby/1.8/monitor.rb:242:in
synchronize' from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:422:inretrlines’
from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:631:in `list’
from ./mauro.rb:11

It happens when I use ftp.list

Did you already face this problem?

Thank You

Regards

Mauro

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs