About: rvm 0.0.17 http://github.com/wayneeseguin/rvm by Wayne E. Seguin (wayneeseguin@gmail.com) Installation: $ gem install rvm # Install the rvm gem $ rvm-install # Install rvm, adds hooks for bash & zsh Usage: rvm Action [Implementation] [Options] Action: * usage - Show this usage information use - Switch to using a specific ruby version (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 version gems to current version (highly expiramental) Example: rvm gemdup ~/.gem/ruby/1.8/ install - Install a ruby version, default is from source uninstall - Uninstall a ruby version reset - Remove default and current settings, exit the shell. (If you experience odd behavior try this first) debug - Emit environment & configuration information for *current* ruby 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: $ 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 Many Thanks: 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 Ubuntu Linux Support Testing - Anita Kuno (anteaya@anteaya.info) irc: anteaya ; github: http://github.com/anteaya Website Design - Jim Lindley (jlindley@gmail.com) irc: jlindley ; github: http://github.com/jlindley