अपराधी URL को निकालने कर देना चाहिए।
मेरे मामले में, मैं Centos 5.4 पर हूँ और मैं हो रही है पूर्ण त्रुटि संदेश है: अपने .gemrc संपादित करें और पता है कि यह विफल रहता है बनाता निकालें:
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#
समाधान।
फिर से प्रयास करें और अगले टूटा हुआ यूआरएल हटा दें यदि it_just_works (tm) तक;
और अधिक, ऊपर वाला एकमात्र एकमात्र था।
मेरी .gemrc कॉन्फ़िगरेशन फ़ाइल की सामग्री देखें।
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#
एट वोइला!
आप मेरे ईमेल पते पर वादा किए गए 50 डॉलर का भुगतान करने के लिए बहुत दयालु होंगे।
धन्यवाद
डुप्लिकेट http://stackoverflow.com/questions/1855021/gem-install-error-index-not-found-ruby-on-rails –
शायद आपको कोई जवाब खोजने पर ध्यान देना चाहिए। – s84