Fetching contributors…
Cannot retrieve contributors at this time
96 lines (75 sloc) 4.19 KB
rvm Action [Implementation] [Flags] [Options]
* usage - show this usage information
version - show the rvm version installed in rvm_path
use - setup current shell to use a specific ruby version
reload - reload rvm source itself (useful after changing rvm source)
implode - removes rvm completely, i.e. everything in ~/.rvm
update - upgrades rvm to the latest version.
(If you experience bugs try this first with --head)
reset - remove current and stored default & system settings.
(If you experience odd behavior try this second)
info - show information for current ruby
debug - show environment & configuration information for *current* ruby
install - install one or many ruby versions
See also:
uninstall - uninstall one or many ruby versions, leaves their sources
remove - uninstall one or many ruby versions and remove their sources
ruby - runs a named ruby file against specified and/or all rubies
gem - runs a gem command using selected ruby's 'gem'
rake - runs a rake task against specified and/or all rubies
tests - runs 'rake test' across selected ruby versions
specs - runs 'rake spec' across selected ruby versions
monitor - Monitor cwd for testing, run `rake {spec,test}` on changes.
gemset - gemsets:
gemdir - display the path to the current gem directory (GEM_HOME).
srcdir - display the path to rvm source directory (may be yanked)
fetch - Performs an archive / src fetch only of the selected ruby.
list - show currently installed rubies, interactive output.
package - Install a dependency package {readline,iconv,zlib,openssl}
notes - Display notes, with operating system specifics.
* ruby - MRI/YARV Ruby (The Standard) {1.8.6,1.8.7,1.9.1,1.9.2...}
jruby - JRuby {1.3.1,1.4.0}
rbx - rubinius
ree - ruby Enterprise Edition
macruby - MacRuby (Mac OS X Only)
maglev - GemStone Ruby
ironruby - IronRuby
mput - shyouhei(mput)'s github repository
system - use the system ruby (eg. pre-rvm state)
default - use rvm set default ruby and system if it hasn't been set.
--head - with update, updates rvm to git head version.
--rubygems - with update, updates rubygems for selected ruby
--default - with ruby select, sets a default ruby for new shells.
--debug - Toggle debug mode on for very verbose output.
--force - Force install, removes old install & source before install.
--summary - Used with rubydo to print out a summary of the commands run.
--jit - Used with rubinius install to build with JIT
--latest - with gemset --dump skips version strings for latest gem.
--gems - with uninstall/remove removes gems with the interpreter.
--reconfigure - Force ./configure on install even if Makefile already exists.
-v|--version - Emit rvm version loaded for current shell
-h|--help - Emit this output and exit
-l|--level - patch level to use with rvm use / install
--prefix - path for all rvm files (~/.rvm/), with trailing slash!
--bin - path for binaries to be placed (~/.rvm/bin/)
--source - src directory to use (~/.rvm/src/)
--archives - directory for downladed files (~/.rvm/archives/)
-S - Specify a script file to attempt to load and run (rubydo)
-e - Execute code from the command line.
-G|--gems - root gem path to use
-C|--configure - custom configure options, comma separated
default: --enable-shared=true
--reconfigure - Force installer to re-run configure if already run
--nice - process niceness (for slow computers, default 0)
--ree-options - Options passed directly to ree's './installer' on the command line.