Sunday, August 12, 2007

Ruby: Could not find gem in any repository

Been playing with webgen for static site generation.

Loaded it on 2 machines (one of the demos uses imagemagick), so needed to put it on the second machine. Got the follow error on the second box.

$gem install webgen
Bulk updating Gem source index for: http://gems.rubyforge.org
Install required dependency cmdparse? [Yn] Y
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find cmdparse (~> 2.0.0) in any repository


Turns out to be a cache problem.

After a little googling I found a solution on Derek Anderson's army of evil robots blog.

Thanks to Derek.

1 comment:

EscVector said...

This all started happening on Friday. Now I'm not able to connect to my newly generated controllers.