About: rvm 0.0.9 http://github.com/wayneeseguin/rvm by Wayne E. Seguin (wayneeseguin@gmail.com) 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 (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/ TODO: (in order) * rvm gemdir default * root support * Settings file, user overridable * Show current in rvm list, if applicable Credits: Bash Support Testing - Daniel Neighman (dneighman@gmail.com) irc: hassox ; github: http://github.com/hassox - John Mettraux (jmettraux@openwfe.org) irc: jmettraux ; github: http://github.com/jmettraux ZSH Support Testing - Franco Lazzarino (flazzarino@gmail.com) irc: flazz ; github: http://github.com/flazz