About:

  rvm 0.0.10 http://github.com/wayneeseguin/rvm

  by Wayne E. Seguin ([email protected])

Usage:

  rvm Action [Implementation] [Options]

Action:

  * usage   - Show this usage information
  use       - Switch to using a specific ruby versio (new login shell)
  info      - Show information for current ruby
  list      - Show currently installed versions
  gemdir    - Switch to gem directory for installation (new login shell)
  srcdir    - Switch to src directory for the current ruby installation
  gemdup    - Clone source implementation version gems to currently used version 
              (highly expiramental) Example: rvm gemdup ~/.gem/ruby/1.8/
  install   - Install a ruby version, default is from source
  uninstall - Uninstall a ruby version
  debug     - Emit environment and configuration information for debugging

Implementation:

  * ruby    - MRI/YARV Ruby (The Standard), defaults to 1.8.6
  jruby     - jRuby
  ree       - Ruby Enterprise Edition
  default   - Resets to the default system ruby
  all       - Used with install, installs all latest known versions

Options: 

  -v|--version    - Ruby Package Version, defaults to 'latest'
  -l|--level      - Patch level for the specified Ruby version
  -p|--prefix     - Package and source directory prefix, with trailing slash!
                    Default is a users home directory and /usr/local/ for root
  -c|--configure  - Options for source compile (default: --enable-shared)
  -d|--debug      - Toggle debug mode on for extra messages (NYI)

Notes:

  * Defaults above are denoted with a '*' prefix.
  * rvm is intended to be run as an individual user (not root, yet)
  * All ruby installation, configuration and source files are in ~/.rvm
  * To manually reset to defaults: "rm -f ~/.rvm/current", then open new shell
  * To preserve previous gem installations for a particular ruby version copy,
    move, symlink or copy the old gem directory to (1.8 for 1.8.X): 
    ~/.gem/$interpreter/$version

Examples:

  $ gem install rvm             # Install the rvm gem
  $ rvm-install                 # Install rvm, adds hooks for bash & zsh
  $ rvm install jruby           # Install jRuby (default version is 1.3.1)
  $ rvm use ruby -v 1.9.1       # Use Ruby 1.9.1, installs if necessary
  $ rvm use 1.9                 # Equivalent to above, due to defaults
  $ rvm use 1.8                 # Use Ruby 1.8.6, installs if necessary
  $ rvm use default             # Use the system default (as if no rvm)
  $ rvm gemdup ~/.gem/ruby/1.8/ # Install gems from ~/.gem/ruby/1.8/
  $ rvm gemdir                  # Switch to gems directory for current ruby
  $ rvm gemdir system           # Switch to the system gems directory
  $ rvm gemdir system user      # Switch to the system user gems directory
  $ rvm gemdir ruby 1.9         # Switch to gems directory for ruby 1.9.1

TODO: (in order)

  * rvm gemdup 
  * root support
  * Settings file, user overridable
  * Show current in rvm list, if applicable

Credits:

  Bash Support Testing

    - Daniel Neighman ([email protected])
      irc: hassox    ; github: http://github.com/hassox

    - John Mettraux ([email protected])
      irc: jmettraux ; github: http://github.com/jmettraux

  ZSH Support Testing

    - Franco Lazzarino ([email protected])
      irc: flazz     ; github: http://github.com/flazz