From: Luis Lavena Date: 2008-08-01T15:04:09+09:00 Subject: Re: RubyGems - update made a mess - help needed with Windows On Aug 1, 12:25 am, Becca Girl wrote: > Luis Lavena wrote: > > Thanks for the help.  Notes are below. > > > 1) Which version of Ruby (ruby -v) you have installed? > > ruby 1.8.5 > > > > > 2) Which version of Rails was your application built with (you can > > check that into config/environement.rb) > > Rails 2.1 > > > > > 3) Did RubyGems system update succeed? (gem update --system). can you > > provide your gem environment? (gem env) > > I believe that the gem update worked, but if I do 'gem env' I get > "unititialized constant Gem::GemRunner (NameError) > > > > > 4) please indicate the version of Rails gem you have now installed > > (gem list rails) > > Same error as above. > > > What you broke is your environment, not your application code, unless > > you committed some changes related to the rails gem updates. > > Yes, I believe my environment is broken, not the code. > > Ok, first it seems the application was not started by you, but you just checkout it, right? so we need to fix the rubygems stuff. 1) Download rubygems-1.2.0.zip file from RubyForge: http://rubyforge.org/frs/?group_id=126&release_id=23118 2) Extract the package and from the command prompt, inside the folder run: ruby setup.rb install That should overwrite the installed rubygems with this one. 3) Go to into your Ruby/bin folder (usually C:\Ruby\bin or C:\Program Files\Ruby\bin) and look for all the scripts named "gem", if you had 1.8.5, you should have: gem gem.bat gem.cmd Please remove the gem.cmd file to avoid conflicts. 4) RubyGems should be working now. > > THANKS Again for your help.  So very much appreciated!!!!! > HTH, -- Luis Lavena