From: Roger Pack Date: 2008-02-06T13:00:41+09:00 Subject: Re: Ruby from source on Leopard excruciatingly slow internet laughably, the following script (which overwrites your /etc/hosts file periodically with one or two entries) seems to help. I probably wouldn't really recommend this unless you really know what you're doing, but here it is count = 0 loop do a = File.open '/etc/hosts', 'w' a.write '127.0.0.1 localhost' + "\n" a.write '127.0.0.1 localhost2' + "\n" if (count%2) == 1 a.close sleep 0.5 count += 1 end (save this as a file like 'renew_etc.rb', save a copy of your /etc/hosts file somewhere, then run sudo ruby renew_etc.rb) You could try changing the sleep value. Note that running this may have unforeseen effects. I wouldn't believe it if it didn't seem to work. Note that the default /etc/hosts file is ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost if you need to recreate it. GL. -Roger -- Posted via http://www.ruby-forum.com/.