Rails installation problem on windows

Hi
    I installed ruby and mysql .And when tried from prompt
gem install rails --include-dependencies
   it gives the error

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
    A connection attempt failed because the connected party did not
properly res
pond after a period of time, or established connection failed because
connected
host has failed to respond. - connect(2)(Errno::ETIMEDOUT)
          Please help

Felix

It could be that you have a firewall blocking the connection or
similar.
Try to open it up for gem.

Just do
  set http_proxy=http://ipaddress:port