Skip to content

Instantly share code, notes, and snippets.

@blt
Created August 7, 2011 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blt/1129944 to your computer and use it in GitHub Desktop.
Save blt/1129944 to your computer and use it in GitHub Desktop.
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Usage
rvm-installer [options] [action]
Options
--branch <name> - Install RVM head, from named branch
--version <head|latest|x.y.z> - Install RVM version [head|latest|x.y.z]
--trace - used to debug the installer script
Actions
help - Display CLI help (this output)
$ curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer --version latest
Usage
rvm-installer [options] [action]
Options
--branch <name> - Install RVM head, from named branch
--version <head|latest|x.y.z> - Install RVM version [head|latest|x.y.z]
--trace - used to debug the installer script
Actions
help - Display CLI help (this output)
$ ./rvm-installer --version latest --trace
+ ./rvm-installer : 169 > export rvm_trace_flag=1
+ ./rvm-installer : 169 > rvm_trace_flag=1
+ ./rvm-installer : 174 > true 1 0 1 0 HOME=/home/blt
+ ./rvm-installer : 178 > (( rvm_ignore_rvmrc == 0 ))
+ ./rvm-installer : 180 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ ./rvm-installer : 182 > [[ -s /etc/rvmrc ]]
+ ./rvm-installer : 180 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ ./rvm-installer : 182 > [[ -s /home/blt/.rvmrc ]]
+ ./rvm-installer : 184 > grep '^\s*rvm .*$' /home/blt/.rvmrc
+ ./rvm-installer : 191 > source /home/blt/.rvmrc
++ rc : 1 > rvm_make_flags='-j 3'
++ rc : 2 > set 'export rvm_pretty_print_flag=1'
+ ./rvm-installer : 197 > [[ -z /home/blt/.rvm ]]
+ ./rvm-installer : 237 > export HOME rvm_path
+ ./rvm-installer : 240 > (( 1 > 0 ))
+ ./rvm-installer : 242 > token='export rvm_pretty_print_flag=1'
+ ./rvm-installer : 243 > shift
+ ./rvm-installer : 244 > case "$token" in
+ ./rvm-installer : 306 > usage
+ ./rvm-installer : usage() 31 > printf '
Usage
rvm-installer [options] [action]
Options
--branch <name> - Install RVM head, from named branch
--version <head|latest|x.y.z> - Install RVM version [head|latest|x.y.z]
--trace - used to debug the installer script
Actions
help - Display CLI help (this output)
'
Usage
rvm-installer [options] [action]
Options
--branch <name> - Install RVM head, from named branch
--version <head|latest|x.y.z> - Install RVM version [head|latest|x.y.z]
--trace - used to debug the installer script
Actions
help - Display CLI help (this output)
+ ./rvm-installer : 307 > exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment