From: Marek Kubica Date: 2005-08-12T01:11:11+09:00 Subject: Problems with Net::HTTP.get Hello! I've been happily writing a smaller program in Ruby (I can't write bigger programs, as I'm just starting with Ruby) when a problem hit me. So I made a smaller version of the program which shows the same problem: The code is: require 'net/http' require 'uri' source = Net::HTTP.get(URI.parse('http://www.google.de/')) puts source Looks pretty basic. But the problem is: it never gets to the last line! It hangs on the Net::HTTP.get. I've also tried Net::FTP and it hasn't worked either. I guess it could be a problem with socket.so, that's why I tested multible versions of the Ruby interpreter: 1.8.1-mswin32: does not work 1.8.1-mingw32: does not work 1.8.2-mswin32: does not work 1.8.2-mingw32: does not work 1.8.2-one-click-installer(mswin32): does not work I've tried this on Windows XP SP2 and it does not work, but on my Debian Sarge box it works without any problem. Can somebody help me getting it to work on Windows? Thanks in advance! Marek