[Rubygems-developers] Gem not found w/ no source cache file
Nick Sieger
nicksieger at gmail.com
Fri Jun 1 17:18:43 EDT 2007
Some of you may know about this longstanding issue (at least since
0.9.2), where a clean, initial install with no pre-existing
source_cache file causes no gems to be found:
http://rubyforge.org/tracker/index.php?func=detail&aid=9679&group_id=126&atid=575
$ sudo rm /usr/lib/ruby/gems/1.8/source_cache
Password:
$ sudo gem install rake
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find rake (> 0) in any repository
I found a simple solution to this, and the patch is attached. It's
also in the tracker issue, but I don't know how often tracker is
checked. Explanation in the tracker.
Cheers,
/Nick
More information about the Rubygems-developers
mailing list