Re: RubyGems or any HTTP on XP NOT working



I've been working smoothly on an XP machine with none of the problems you
report.
XP added an internal firewall sometime back, perhaps it is turned on.

Another possibility is that your home networking router is blocking things.
Some cable/dsl modems also have built-in firewalls that can sometimes act
up.

Are there any unusual programs common to all 3 machines?

Can you ping gems.rubyforge.org? If not, try doing a tracert to see where
it is failing.

_Kevin

-----Original Message-----
From: mycallidus@xxxxxxxxx [mailto:mycallidus@xxxxxxxxx]
Sent: Sunday, August 14, 2005 07:11 PM
To: ruby-talk ML
Subject: RubyGems or any HTTP on XP NOT working


I tried to start learning Ruby by installing Ruby & Rails on XP, and it has
been very frustrating so far. Any remote gem installs failed at the
following step,

Updating Gem source index for: http://gems.rubyforge.org

It seems to me a very common problem on XP since the same problem occurs on
3 different XP machines, XP Home SP1, XP Pro SP1, and XP Pro SP2. However,
I couldn't find any answers to this problem after googling many hours on the
net. Someone mentioned that it is related to ZoneAlarm, but I do not have
that on any of the XP machines. Two XP boxes use my home network, and the
other one is my office machine. None of them uses a proxy for Internet
access. The following simple test program also hangs on these machines,

require 'net/http'
puts 'connecting...'
Net::HTTP.start('www.google.com') do |http|
response = http.get('/index.html')
puts response.code
end

The internal HTTP server comes with Rails also hangs and does not respond to
any browser requests. I could not Ctrl-C to kill the process either. The
problem was finally resolved by using my old NT machine on the same home
network which the other two XP share. "gem update --system" and "gem
install rails" all worked smoothly w/o any problems. The test program also
ran and displayed the response code right away. Rails HTTP server works
perfectly as well. I don't use my NT machine nowadays, so it would be very
cumbersome to try out rails on that machine every time. It will be really
appreciated if someone can help me out here.

Thanks,
Barry




.



Relevant Pages

  • Re: RubyGems or any HTTP on XP NOT working
    ... Use Ctrl + Break instead of Ctrl + C ... > I tried to start learning Ruby by installing Ruby & Rails on XP, ... Any remote gem installs failed at ... Rails HTTP server works perfectly as well. ...
    (comp.lang.ruby)
  • Re: HTTP output stream
    ... doesn't work for me because I didn't find a whole working solution, ... get a working project. ... somewhere on the Internet it looks easily but I didn't see a whole project ... > using for the HTTP server? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Top posting
    ... interesting thread goes off the rails because one person posts, ... of inline posting with appropriate snipping. ... I've found that on the internet, as in life, it is much easier ... and find ways of dealing with it ...
    (microsoft.public.dotnet.languages.csharp)
  • Static Routing
    ... Now I want to reach my http server via the internet using a static route on ... The linux gateway has 2 NIC's installed ... eth0 (directly connected via cable modem to the internet, uses DHCP) ...
    (linux.redhat)
  • Re: Network Setup In Text Mode
    ... I can't get HTTP access to the Internet. ... a Lynx call to the HTTP server in the router. ...
    (comp.os.linux.misc)