Forum: Ruby on Rails Error fetching remote gem cache

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1dc9ebcef7fed24604ffa516329519f2?d=identicon&s=25 Pei (Guest)
on 2007-05-03 17:59
(Received via mailing list)
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
http://gems.rubyforge.org/yaml

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
Exception `Errno::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
Exception `Gem::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
Exception `Gem::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 http://gems.rubyforge.org/yaml
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
1dc9ebcef7fed24604ffa516329519f2?d=identicon&s=25 Pei (Guest)
on 2007-05-03 18:52
(Received via mailing list)
Hmm, is there something wrong the the rubyforge server?  I just tried
to load http://gems.rubyforge.org/yaml in Firefox browser -- I got
first part of the page, but it never reached EOF (after 5
minutes)... ?
8716cce9a7b721786e5425b8cc1f9951?d=identicon&s=25 unknown (Guest)
on 2007-05-03 19:39
(Received via mailing list)
You stated that you are not behind a proxy, but that is the exact
error you get when you are behind a proxy and don't use the -p option.

Try:
$gem cleanup
...
$gem update

before trying to install Rails.
8716cce9a7b721786e5425b8cc1f9951?d=identicon&s=25 unknown (Guest)
on 2007-05-04 17:57
(Received via mailing list)
I just tried in the browser here at work.

Its an 8.19 MB file. What is your connection speed?
1dc9ebcef7fed24604ffa516329519f2?d=identicon&s=25 Pei (Guest)
on 2007-05-05 05:52
(Received via mailing list)
ok, after a couple of days of unable to download the yaml files, i can
do it now and gem install rails is working now.  i guess it was a load
issue somewhere in the internet or gem server that has been resolved.

thx

Pei
B54a33bef5ab378468bde764e9fd45ad?d=identicon&s=25 Wryland Reed (wryland)
on 2010-09-25 00:04
unknown wrote:
> I just tried in the browser here at work.
>
> Its an 8.19 MB file. What is your connection speed?
____________________________

I can't get the commands:

gem update --system

and

gem update

to work.  Is there another way to install these updates?
This topic is locked and can not be replied to.