I am getting this error when trying to install rails:
gem install rails --include-dependencies
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (Gem::RemoteSourceException)
Error fetching remote gem cache: timed out fetching
RubyGems.org | your community gem host
I am doing this on my laptop running windows XP SP2. I am connected
to the internet via wifi at my home (DSL, no proxy). I also tried
this to see more debugging info:
gem install rails --include-dependencies --debug
ExceptionErrno::ENOENT' at c:/Tools/ruby/lib/ruby/site_ruby/1.8/ rubygems/confi g_file.rb:51 - No such file or directory - C:\Documents and Settings \pku/.gemrc Bulk updating Gem source index for: http://gems.rubyforge.org Exception
Timeout::Error’ at c:/Tools/ruby/lib/ruby/1.8/timeout.rb:54
- executi
on expired
ExceptionGem::RemoteFetcher::FetchError' at c:/Tools/ruby/lib/ruby/ site_ruby/1 .8/rubygems/remote_fetcher.rb:53 - timed out fetching http://gems.rubyforge.org/ yaml.Z Exception
Timeout::Error’ at c:/Tools/ruby/lib/ruby/1.8/timeout.rb:54 - executi
on expired
ExceptionGem::RemoteFetcher::FetchError' at c:/Tools/ruby/lib/ruby/ site_ruby/1 .8/rubygems/remote_fetcher.rb:53 - timed out fetching http://gems.rubyforge.org/ yaml Exception
Gem::RemoteSourceException’ at c:/Tools/ruby/lib/ruby/
site_ruby/1.8/r
ubygems/source_index.rb:288 - Error fetching remote gem cache: timed
out fetchin
g RubyGems.org | your community gem host
ERROR: While executing gem … (Gem::RemoteSourceException)
Error fetching remote gem cache: timed out fetching
http://gems.rubyforge.or
g/yaml
removing C:/DOCUME~1/pku/LOCALS~1/Temp/open-uri.2812.0…done
removing C:/DOCUME~1/pku/LOCALS~1/Temp/open-uri.2812.2…done
removing C:/DOCUME~1/pku/LOCALS~1/Temp/open-uri.2812.1…done
Help!
Pei