From: Martin DeMello Date: 2008-12-03T21:28:25+09:00 Subject: Re: ipaddr and invalid ipv4 addresses On Wed, Dec 3, 2008 at 5:44 PM, botp wrote: > On Wed, Dec 3, 2008 at 8:03 PM, Martin DeMello wrote: >> What's going on here? > >> require 'ipaddr' > => true >> ip = IPAddr.new('192.168.1.1024') > ArgumentError: invalid address > from /usr/local/lib/ruby/1.8/ipaddr.rb:467:in `initialize' > from (irb):2:in `new' > from (irb):2 >> RUBY_VERSION > => "1.8.7" Ah - my bad, I'm still running 1.8.6 and didn't think to check the latest version. martin