Clearing the gem source_cache in Ruby
I was trying to install a Ruby Gem when I got the following error message:
ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find xhtmldiff (> 0) in the repository
Googling around, I found out that this error may mean that the source cache is corrupt. Sure enough, that was the problem.
To fix it, under Locomotive, I deleted the following file:
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/source_cache
And that fixed it! :)
Comments
by Anselm Bradford on 2006-10-22 16:17:39
by Mike on 2007-05-05 12:33:46
by Mike on 2007-05-05 12:34:52
by Wilson on 2007-05-11 14:58:08
by Rashid on 2007-08-16 05:05:17
by Warren on 2007-12-13 02:29:04
by Ryan on 2007-11-05 16:10:46
by Matt Di Pasquale on 2009-05-16 04:27:52
by Matt Di Pasquale on 2009-05-16 04:34:17
by Chethan on 2009-12-08 07:49:55