From: Luis Lavena Date: 2009-12-01T01:00:12+09:00 Subject: Re: Racc fails on install On Nov 30, 12:29 pm, Gordon Marsh wrote: > Thanks for the help guys. > > If I run gem -v I get "0.9.4", which I find a little odd as I've run the > rubygems-update-1.3.5.gem. > If the gem update --system fails, please update manually: http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/ If you're still getting 0.9.4 that means you're updating the wrong version of RubyGems for multiple installed Ruby in your system. Please verify your setup first. > In any case, what is weirder is that if racc is part of the standard > Ruby distribution, what I actually get when trying to install Cucumber > is the following: > >    C:\Program Files\FunFx>gem install cucumber-0.4.4.gem >    ERROR:  While executing gem ... (RuntimeError) >        Error instaling cucumber-0.4.4.gem: >            cucumber requires nokogiri = 1.3.3 > >    C:\Program Files\FunFx>gem install nokogiri-1.3.3.gem >    ERROR:  While executing gem ... (RuntimeError) >        Error instaling nokogiri-1.3.3.gem: >            nokogiri requires racc >= 0 What it seems is that you're manually installing each individual gem using the gem files and not letting rubygems resolve dependencies and download them automatically. Is that because you're behind a proxy? See the documentation of gem install for proxy option and URL: gem install xxx --http-proxy http://server:port/ > > Nokogiri obviously thinks that racc is not installed at all! > Again, that is because you're using an old version of RubyGems and is trying to install development dependencies as runtime instead. Word of advice: please use RubyInstaller 1.8.6 (RC1) instead of your old One-Click installation. http://rubyforge.org/forum/forum.php?forum_id=35591 -- Luis Lavena