Permalink
Browse files

Updated usage and help.

  • Loading branch information...
1 parent 9dd2a81 commit c0294f7d3edef6c8a686f750215535d954f65dc8 @wayneeseguin wayneeseguin committed Feb 22, 2011
Showing with 23 additions and 13 deletions.
  1. +13 −10 help/upgrade
  2. +10 −3 scripts/upgrade
View
@@ -1,18 +1,21 @@
-∴ rvm upgrade ruby-prefix [optional-source]
+Usage:
-Attempts to install the latest version of a given ruby (still experimental).
+ rvm upgrade [source ruby] [destination ruby]
-Given a ruby prefix (e.g. 1.9.2), it attempts to upgrade your last installed
-version, migrating gemsets.
+Description:
+
+ Upgrades the specified (already installed) source ruby given to the
+ given destination ruby version. Will migrate gemsets, wrappers, aliases
+ and environment files.
+
+ The process will prompt you at each stage - if the versions look incorrect,
+ please cancel and perform it manually.
-The process will prompt you at each stage - if the versions look incorrect,
-please cancel and perform it manually.
Examples:
-If you have 1.9.2-rc2 installed and want to switch it to 1.9.2-p0,
+ $ rvm upgrade 1.9.2-p136 1.9.2-p180
+
+ $ rvm upgrade ree-2011.01 ree-2011-02
- ∴ rvm upgrade 1.9.2
-
-Will install 1.9.2-p0 and migrate the gemsets.
View
@@ -9,12 +9,19 @@ usage()
Usage:
- rvm upgrade [new ruby] [existing ruby]
+ rvm upgrade [source ruby] [destination ruby]
Description:
- Upgrades the latest installed ruby with a given ruby string
- (e.g. ree) to the latest known version or the version specified
+ Upgrades the specified (already installed) source ruby given to the
+ given destination ruby version. Will migrate gemsets, wrappers, aliases
+ and environment files.
+
+ Examples:
+
+ $ rvm upgrade 1.9.2-p136 1.9.2-p180
+
+ $ rvm upgrade ree-2011.01 ree-2011-02
"
}

0 comments on commit c0294f7

Please sign in to comment.