Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

265 lines (177 sloc) 6.13 kB
rvm - The Ruby Version Manager
RVM is a command line tool which allows us to easily install, manage and work
with multiple ruby environments from interpreters to sets of gems.
with update, updates rvm to git head version.
with update, updates rubygems for selected ruby
with ruby select, sets a default ruby for new shells.
Toggle debug mode on for very verbose output.
Toggle trace mode on to see EVERYTHING rvm is doing.
Force install, removes old install & source before install.
Used with rubydo to print out a summary of the commands run.
with gemset --dump skips version strings for latest gem.
with uninstall/remove removes gems with the interpreter.
with install, attempt to generate ri after installation.
Force ./configure on install even if Makefile already exists.
*-v, --version*::
Emit rvm version loaded for current shell.
*-l, --level*::
patch level to use with rvm use / install
path for binaries to be placed ('~/.rvm/bin/')
src directory to use ('~/.rvm/src/')
directory for downladed files ('~/.rvm/archives/')
Specify a script file to attempt to load and run (rubydo).
Execute code from the command line.
root gem path to use
Used to set the 'gems_flag', use with 'remove' to remove gems.
Used to set the 'archive_flag', use with 'remove' to remove archive.
*--patch*, *--patches*::
With any ruby build from source, allows you to specify patch paths
and patch names to be applied prior to building. Values should
be a relative / absolute path to a patch or the name of known
patch / patchset. Optionally, paths or names may be followed by
'%someinteger' - e.g. '--patches mypatch%2' - where the number
following the % specifies the value of the -p argument to patch,
defaulting to two.
*-C, --configure*::
custom configure options. If you need to pass several configure
options then append them comma separated: '-C --...,--...,--...'.
process niceness (for slow computers, default 0)
Options passed directly to ree's './installer' on the command line.
Show this usage information.
Show the rvm version installed in rvm_path.
Setup current shell to use a specific ruby version.
Reload rvm source itself (useful after changing rvm source).
Displays information about an environment specified but the
given ruby string. Useful for getting a sourceable path or an
evaluatable set of shell variable declarations.
(seppuku) removes the rvm installation completely.
This means everything in $rvm_path ('~/.rvm').
This does not touch your profiles. However, this means that
you must manually clean up your profiles and remove the lines
which source RVM.
Upgrades rvm to the latest version.
(If you experience bugs try this first with --head).
Remove current and stored default & system settings.
(If you experience odd behavior try this second).
Show the *current* environment information for current ruby.
Show info plus additional information for common issues.
Install one or many ruby versions.
Uninstall one or many ruby versions, leaves their sources.
Uninstall one or many ruby versions and remove their sources.
Generates a set of wrapper executables for a given ruby with the
specified ruby and gemset combination. Used under the hood for
passenger support and the like.
*do \**::
Runs the specified command against specified and/or all rubies.
Runs 'rake test' across selected ruby versions.
Runs 'rake spec' across selected ruby versions.
Monitor cwd for testing, run 'rake {spec,test}' on changes.
Display the path to the current gem directory ('$GEM_HOME').
Display the path to rvm source directory (may be yanked).
Performs an archive / src fetch only of the selected ruby.
Show currently installed rubies, interactive output.
Install a dependency package {readline,iconv,zlib,openssl}.
Display notes, with operating system specifics.
Temporarily set an environment variable in the current shell.
Undo changes made to the environment by 'rvm export'.
Show additional OS specific dependencies/requirements for building various rubies.
MRI/YARV Ruby (The Gold Standard) {1.8.6,1.8.7,1.9.1,1.9.2...}
JRuby, Ruby interpreter on the Java Virtual Machine.
Ruby Enterprise Edition, MRI Ruby with several custom
patches for performance, stability, and memory.
MacRuby, insanely fast, can make real apps (Mac OS X Only).
GemStone Ruby, awesome persistent ruby object store.
IronRuby, NOT supported yet. Looking for volunteers to help.
Use the system ruby (eg. pre-rvm state).
Use rvm set default ruby and system if it hasn't been set.
---------[Main web site][Online issue-tracker]
Copyright (c) 2009 Wayne E. Seguin
See LICENCE file for details.
# vim:ft=asciidoc
Jump to Line
Something went wrong with that request. Please try again.