WARNING: RubyGems 1.2+ index not found for:
RubyGems will revert to legacy indexes degrading performance.
If anyone can walk me through this problem I will give them $50.00
I've exhausted google, have reinstalled everything.
All i want to to is
gem install ...
that's it
remove the culprit URL.
in my case, I am on Centos 5.4 and the full error message I am getting is:
root# gem install rack
WARNING: RubyGems 1.2+ index not found for:
http://rubyworks.rubyforge.org/redhat/5/GEMS/x86_64/
RubyGems will revert to legacy indexes degrading performance.
ERROR: could not find gem rack locally or in a repository
root#
Solution: edit your .gemrc and remove the address that makes it fails.
try again and remove the next broken url if any until it_just_works(tm);
more it, the one above was the only one.
see the content of my .gemrc config file.
root# cat .gemrc
---
:verbose: true
:bulk_threshold: 1000
:benchmark: false
:update_sources: true
:backtrace: false
:disabledsources:
- http://rubyworks.rubyforge.org/redhat/5/GEMS/x86_64/
:sources:
- http://gems.rubyforge.org
- http://gems.github.com
- http://gems.rubyforge.org
- http://gems.github.com/
- http://gems.rubyonrails.org/
root# pwd
/root
root#
Et Voila!
you would be very kind to paypal 50$ to my email address as promised.
thanks
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With