JezK
Edit File: page-UPGRADING_rdoc.ri
U:RDoc::TopLevel[ i I"UPGRADING.rdoc:ETcRDoc::Parser::Simpleo:RDoc::Markup::Document:@parts[KS:RDoc::Markup::Heading: leveli: textI"'How to upgrade/downgrade Rubygems:;To:RDoc::Markup::BlankLine S; ; i;I""For RubyGems 1.5.0 and 1.5.1:;T@ o:RDoc::Markup::Paragraph;[I"RRubyGems 1.5.0 and 1.5.1 shipped with a broken <tt>gem update --system</tt>. ;TI":You will need to use the Manual Upgrade Recipe below.;T@ S; ; i;I"On Ruby 1.9.x:;T@ S; ; i;I"'From stock ruby shipping with 1.9:;T@ o; ;[I"4Use the Normal Upgrade Method below. (finally!);T@ S; ; i;I"On Ruby 1.8.x:;T@ S; ; i;I"From rubygems 1.3.x:;T@ o; ;[I")Use the Normal Upgrade Recipe below.;T@ S; ; i;I"'From rubygems 1-1.x through 1.2.x:;T@ o; ;[I"CRubyGems 1.1 and 1.2 have problems upgrading when there is no ;TI"Crubygems-update installed. You will need to use the following ;TI"1instructions if you see "Nothing to update".;T@ o; ;[I")Use the Manual Upgrade Recipe below.;T@ S; ; i;I"From rubygems < 1.1.x:;T@ o; ;[I")Use the Normal Upgrade Recipe below.;T@ S; ; i;I"Downgrade Recipe;T@ S; ; i;I"Normal Downgrade;T@ S; ; i ;I"$With rubygems 1.5.2 and higher:;T@ o:RDoc::Markup::Verbatim;[I"!$ gem update --system 1.3.7 ;T:@format0S; ; i ;I"#With rubygems 1.5.1 and lower:;T@ o; ;[I" Use sudo/su as appropriate:;T@ o;;[I",$ gem install rubygems-update -v 1.3.7 ;TI"$ update_rubygems _1.3.7_ ;T;0o; ;[I"HReplace 1.3.7 with whatever version you want to downgrade to. This ;TI"Irecipe can also be used to upgrade to a specific version instead of ;TI"the latest.;T@ o; ;[I"LDo make sure that you don't have any other versions of rubygems-update ;TI"/installed when you run the second command.;T@ S; ; i;I"@1.9.2 Downgrade from Rubygems 1.4.x+ to stock 1.9 rubygems:;T@ o; ;[I" Use sudo/su as appropriate:;T@ o;;[I"1$ ruby --disable-gems -S gem which rubygems ;TI"H~/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems.rb ;TI"M$ rm ~/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems.rb ;TI"N$ rm -rf ~/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems ;TI"$ gem -v ;TI"1.3.7 ;T;0S; ; i;I"Upgrade Recipes;T@ S; ; i;I"Normal Upgrade;T@ o; ;[I" Use sudo/su as appropriate:;T@ o;;[I"$ gem update --system ;T;0S; ; i;I"Manual Upgrade;T@ o; ;[I"LIf you have an older version of RubyGems installed, then you can still ;TI"do it in two steps:;T@ o; ;[I" Use sudo/su as appropriate:;T@ o;;[I"#$ gem install rubygems-update ;TI"$ update_rubygems ;T;0S; ; i;I"Manual Install;T@ o; ;[I"HIf you don't have any RubyGems install, there is still the pre-gem ;TI"5approach to getting software, doing it manually:;T@ o; ;[I" Use sudo/su as appropriate:;T@ o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"7Download from: https://rubygems.org/pages/download;To;;0;[o; ;[I")Unpack into a directory and cd there;To;;0;[o; ;[I" Install with: ruby setup.rb;T: @file@:0@omit_headings_from_table_of_contents_below0