Roger Pack wrote:
> I usually do something like this on my machine
> 
> loop do
>  break if system("ping google.com")
>  sleep 1
> end
> puts "Internet working!"

Even that caused Ruby to hang.
I am using Ubuntu.
-- 
Posted via http://www.ruby-forum.com/.