Skip to content

Instantly share code, notes, and snippets.

@Imaginativeone
Created October 20, 2013 11:51
Show Gist options
  • Select an option

  • Save Imaginativeone/7068531 to your computer and use it in GitHub Desktop.

Select an option

Save Imaginativeone/7068531 to your computer and use it in GitHub Desktop.
Attempt to install rvm
dougs-macbook:~ Imaginativeone$ \curl -L https://get.rvm.io | bash -s stable --1.9.3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 10 0 0:00:18 0:00:18 --:--:-- 43
100 19632 100 19632 0 0 1058 0 0:00:18 0:00:18 --:--:-- 1058
Usage
rvm-installer [options] [action]
Options
[[--]version] <version>
The version or tag to install. Valid values are:
latest - The latest tagged version.
latest-minor - The latest minor version of the current major version.
latest-<x> - The latest minor version of version x.
latest-<x>.<y> - The latest patch version of version x.y.
<x>.<y>.<z> - Major version x, minor version y and patch z.
[--]branch <branch>
The name of the branch from which RVM is installed. This option can be used
with the following formats for <branch>:
<account>/
If account is wayneeseguin or mpapis, installs from one of the following:
https://github.com/wayneeseguin/rvm/archive/master.tar.gz
https://bitbucket.org/mpapis/rvm/get/master.tar.gz
Otherwise, installs from:
https://github.com/<account>/rvm/archive/master.tar.gz
<account>/<branch>
If account is wayneeseguin or mpapis, installs from one of the following:
https://github.com/wayneeseguin/rvm/archive/<branch>.tar.gz
https://bitbucket.org/mpapis/rvm/get/<branch>.tar.gz
Otherwise, installs from:
https://github.com/<account>/rvm/archive/<branch>.tar.gz
[/]<branch>
Installs the branch from one of the following:
https://github.com/wayneeseguin/rvm/archive/<branch>.tar.gz
https://bitbucket.org/mpapis/rvm/get/<branch>.tar.gz
[--]source <source>
Defines the repository from which RVM is retrieved and installed in the format:
<domain>/<account>/<repo>
Where:
<domain> - Is bitbucket.org, github.com or a github enterprise site serving
an RVM repository.
<account> - Is the user account in which the RVM repository resides.
<repo> - Is the name of the RVM repository.
Note that when using the [--]source option, one should only use the [/]branch format
with the [--]branch option. Failure to do so will result in undefined behavior.
--trace
Provides debug logging for the installation script.
Actions
master - Installs RVM from the master branch at wayneeseguin/rvm on github or mpapis/rvm
on bitbucket.org.
stable - Installs RVM from the stable branch a wayneeseguin/rvm on github or mpapis/rvm
on bitbucket.org.
help - Displays this output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment