views:

1810

answers:

5

RubyGems 1.2+ index not found for:

RubyGems will revert to legacy indexes degrading performance. Bulk updating Gem source index for: http://gems.rubyforge.org/

1) I have reinstalled ruby and ruby gems from source

2) possible solutions that have not worked

a) try adding different sources to gem sources

b) updating gems, It's not out of date gems because I also installed 1.3.5 from source.

  • I cannot do gem install, gem update... all that gets returned is the above error.
A: 

You may need to delete one of your source_cache files. If you run:

gem env

That will show you your GEM PATHS. The bad source cache is in one of those. After that add github and gemcutter back in- just in case!

MattMcKnight
I only have http://gems.rubyforge.org/Wow, this crazy. I reinstalled my os, ruby, ruby gems and I still get this problem
Sam
You need to add github and gemcutter back in after you delete all of the source_cache files. You should make sure you can actually see all of those gem loading URLs from your box.
MattMcKnight
+1  A: 

I live in China. I just tried to gem install and gem update from my pc and I got the same error. So i postulate the error is something to do with the great firewall

Sam
A: 

This is reported as a bug here

Sardathrion
+2  A: 

I was getting this same error with: - REMOTE SOURCES: - http://gemcutter.org - http://rubygems.org - http://gems.github.com - http://gems.rubyonrails.org - http://gems.rubyforge.org

I removed the last two from my .gemrc and it fixed the problem. It seems that it was gems.rubyonrails.org causing the problem.

Matt White
+1  A: 

Remove http://gems.rubyonrails.org from gem sources

gem sources -r http://gems.rubyonrails.org
lukewendling
+1 Thanks man... you saved my day
Teja Kantamneni