On Wed, 7 Feb 2007, Hugh Sasse wrote: > After my last post I tried re-installing rubygems from the zip file. > That time I got a clean install, but I am still getting errors like this: > > > [EMAIL PROTECTED] ~ > $ ls *.gem > ZenTest-3.4.3.gem > > [EMAIL PROTECTED] ~ > $ gem install -b -y ZenTest-3.4.3.gem > ERROR: While executing gem ... (RuntimeError) > Error instaling ZenTest-3.4.3.gem: > ZenTest requires hoe >= 1.1.4 >
To follow up, I found a blog entry at: http://weblog.rubyonrails.com/2007/2/6/in-case-you-re-having-trouble-installing-gems and did this: [EMAIL PROTECTED] ~ $ cd /usr/lib/ruby/gems/1.8 [EMAIL PROTECTED] /usr/lib/ruby/gems/1.8 $ ls cache doc gems source_cache specifications [EMAIL PROTECTED] /usr/lib/ruby/gems/1.8 $ rm -rf source_cache [EMAIL PROTECTED] /usr/lib/ruby/gems/1.8 $ cd [EMAIL PROTECTED] ~ $ gem install -b -y ZenTest-3.4.3.gem ERROR: While executing gem ... (RuntimeError) Error instaling ZenTest-3.4.3.gem: ZenTest requires hoe >= 1.1.4 [EMAIL PROTECTED] ~ $ gem install -y Hoe Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find Hoe (> 0) in any repository [EMAIL PROTECTED] ~ $ ls -l *.gem -rw-r--r-- 1 hgs None 51712 Dec 19 09:04 ZenTest-3.4.3.gem -rwx------+ 1 hgs None 12288 Feb 7 11:14 hoe-1.1.7.gem [EMAIL PROTECTED] ~ $ gem install -y hoe-1.1.7.gem ERROR: While executing gem ... (RuntimeError) Error instaling hoe-1.1.7.gem: hoe requires rubyforge >= 0.4.0 [EMAIL PROTECTED] ~ $ gem install --include-dependencies hoe-1.1.7.gem ERROR: While executing gem ... (RuntimeError) Error instaling hoe-1.1.7.gem: hoe requires rubyforge >= 0.4.0 [EMAIL PROTECTED] ~ $ gem install rubyforge Bulk updating Gem source index for: http://gems.rubyforge.org Successfully installed rubyforge-0.4.0 Installing ri documentation for rubyforge-0.4.0... Installing RDoc documentation for rubyforge-0.4.0... [EMAIL PROTECTED] ~ $ gem install -y hoe-1.1.7.gem ERROR: While executing gem ... (RuntimeError) Error instaling hoe-1.1.7.gem: hoe requires rake >= 0.7.1 [EMAIL PROTECTED] ~ $ gem install rake Successfully installed rake-0.7.1 Installing ri documentation for rake-0.7.1... Installing RDoc documentation for rake-0.7.1... [EMAIL PROTECTED] ~ $ gem install -y hoe-1.1.7.gem Successfully installed hoe, version 1.1.7 Installing ri documentation for hoe-1.1.7... Installing RDoc documentation for hoe-1.1.7... [EMAIL PROTECTED] ~ $ gem install -b -y ZenTest-3.4.3.gem Successfully installed ZenTest, version 3.4.3 Installing ri documentation for ZenTest-3.4.3... Installing RDoc documentation for ZenTest-3.4.3... [EMAIL PROTECTED] ~ $ So the ability to install dependecnies still seems to be borken, but I have got over the initial problem. I still think it would be useful to have a gem command to clear the source cache. Hugh _______________________________________________ Rubygems-developers mailing list Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers