views:

70

answers:

2

Is there any way that I can upgrade my Ruby Gems, and if it doesn't work (on what I'm upgrading them for), than rollback the changes?

+2  A: 

You need install rubygems in other directory of your previous version. After you can change all link to rubygems to this new version.

You can use too rvm. It's really simple and it's allways with latest rubygems. If you don't want it. just delete the .rvm directory.

shingara
+1 for rvm which is working really well for me
Steve Weet
A: 

Just upgrade RubyGems as normal, if it messes up, just download the last version and run sudo ruby setup.rb. http://rubygems.org/pages/download

If you do run into problems, the RubyGems team would love to hear about it: http://help.rubygems.org

qrush