Created
July 12, 2014 02:47
-
-
Save rabcyr/8288064f5fe6c82094bb to your computer and use it in GitHub Desktop.
rvm non-root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby@ruby01:/export/home/ruby$ \curl -sSL https://get.rvm.io | bash -s stable --trace | |
+ : rvm_install_parse_params() 481 > rvm_trace_flag=1 | |
+ : rvm_install_parse_params() 482 > flags+=("$token") | |
+ : rvm_install_parse_params() 483 > forwarded_flags+=("$token") | |
+ : rvm_install_parse_params() 473 > (( 0 > 0 )) | |
+ : rvm_install_parse_params() 649 > (( 0 > 0 && 0 == 0 )) | |
+ : rvm_install_parse_params() 653 > true head | |
+ : rvm_install_parse_params() 654 > true stable | |
+ : rvm_install_parse_params() 656 > [[ -z '' ]] | |
+ : rvm_install_parse_params() 657 > sources=("${DEFAULT_SOURCES[@]}") | |
+ : rvm_install_parse_params() 660 > rvm_src_path=/export/home/ruby/.rvm/src | |
+ : rvm_install_parse_params() 661 > rvm_archives_path=/export/home/ruby/.rvm/archives | |
+ : rvm_install_parse_params() 662 > rvm_releases_url=https://rvm.io/releases | |
+ : rvm_install() 792 > rvm_install_validate_rvm_path | |
+ : rvm_install_validate_rvm_path() 667 > case "$rvm_path" in | |
+ : rvm_install_validate_rvm_path() 695 > [[ /export/home/ruby/.rvm != /* ]] | |
+ : rvm_install() 793 > rvm_install_select_and_get_version | |
+ : rvm_install_select_and_get_version() 702 > for dir in '"$rvm_src_path"' '"$rvm_archives_path"' | |
+ : rvm_install_select_and_get_version() 704 > [[ -d /export/home/ruby/.rvm/src ]] | |
+ : rvm_install_select_and_get_version() 702 > for dir in '"$rvm_src_path"' '"$rvm_archives_path"' | |
+ : rvm_install_select_and_get_version() 704 > [[ -d /export/home/ruby/.rvm/archives ]] | |
+ : rvm_install_select_and_get_version() 707 > case "${version}" in | |
+ : rvm_install_select_and_get_version() 709 > echo stable | |
+ : rvm_install_select_and_get_version() 710 > install_head 'sources[@]' stable | |
+ : install_head() 307 > typeset _branch _source _sources _url | |
+ : install_head() 308 > _sources=(${!1}) | |
+ : install_head() 309 > _branch=stable | |
+ : install_head() 310 > debug 'Selected RVM branch stable' | |
+ : debug() 28 > [[ 0 -eq 0 ]] | |
+ : install_head() 311 > for _source in '"${_sources[@]}"' | |
+ : install_head() 313 > case ${_source} in | |
+ : install_head() 318 > _url=https://github.com/wayneeseguin/rvm/archive/stable.tar.gz | |
+ : install_head() 321 > get_and_unpack https://github.com/wayneeseguin/rvm/archive/stable.tar.gz rvm-stable.tgz | |
+ : get_and_unpack() 341 > typeset _url _file _patern _return | |
+ : get_and_unpack() 342 > _url=https://github.com/wayneeseguin/rvm/archive/stable.tar.gz | |
+ : get_and_unpack() 343 > _file=rvm-stable.tgz | |
+ : get_and_unpack() 345 > log 'Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz' | |
+ : log() 27 > printf '%b\n' 'Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz' | |
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz | |
+ : get_and_unpack() 346 > __rvm_curl -sS https://github.com/wayneeseguin/rvm/archive/stable.tar.gz -o /export/home/ruby/.rvm/archives/rvm-stable.tgz | |
+ : __rvm_curl() 197 > __rvm_which curl | |
+ : __rvm_which() 221 > which curl | |
+ : __rvm_which() 221 > true | |
+ : __rvm_curl() 203 > typeset -a __flags | |
+ : __rvm_curl() 204 > __flags=(--fail --location --max-redirs 10) | |
+ : __rvm_curl() 206 > [[ -sS https://github.com/wayneeseguin/rvm/archive/stable.tar.gz -o /export/home/ruby/.rvm/archives/rvm-stable.tgz == *\-\-\m\a\x\-\t\i\m\e* ]] | |
+ : __rvm_curl() 207 > [[ -sS https://github.com/wayneeseguin/rvm/archive/stable.tar.gz -o /export/home/ruby/.rvm/archives/rvm-stable.tgz == *\-\-\c\o\n\n\e\c\t\-\t\i\m\e\o\u\t* ]] | |
+ : __rvm_curl() 208 > __flags+=(--connect-timeout 30 --retry-delay 2 --retry 3) | |
+ : __rvm_curl() 210 > [[ -n '' ]] | |
+ : __rvm_curl() 214 > __rvm_curl_output_control | |
+ : __rvm_curl_output_control() 179 > (( 0 == 1 )) | |
+ : __rvm_curl_output_control() 183 > [[ =~ -s ]] | |
+ : __rvm_curl_output_control() 183 > [[ =~ --silent ]] | |
+ : __rvm_curl() 216 > unset curl | |
+ : __rvm_curl() 217 > __rvm_debug_command curl --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://github.com/wayneeseguin/rvm/archive/stable.tar.gz -o /export/home/ruby/.rvm/archives/rvm-stable.tgz | |
+ : __rvm_debug_command() 224 > debug 'Running(15): curl --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://github.com/wayneeseguin/rvm/archive/stable.tar.gz -o /export/home/ruby/.rvm/archives/rvm-stable.tgz' | |
+ : debug() 28 > [[ 0 -eq 0 ]] | |
+ : __rvm_debug_command() 225 > curl --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://github.com/wayneeseguin/rvm/archive/stable.tar.gz -o /export/home/ruby/.rvm/archives/rvm-stable.tgz | |
+ : __rvm_debug_command() 226 > true | |
+ : get_and_unpack() 383 > [[ -d /export/home/ruby/.rvm/src/rvm ]] | |
+ : get_and_unpack() 384 > __rvm_cd /export/home/ruby/.rvm/src/rvm | |
+ : __rvm_cd() 330 > typeset old_cdpath ret | |
+ : __rvm_cd() 331 > ret=0 | |
+ : __rvm_cd() 332 > old_cdpath= | |
+ : __rvm_cd() 333 > CDPATH=. | |
+ : __rvm_cd() 334 > chpwd_functions= | |
+ : __rvm_cd() 334 > builtin cd /export/home/ruby/.rvm/src/rvm | |
+ : __rvm_cd() 335 > CDPATH= | |
+ : __rvm_cd() 336 > return 0 | |
+ : get_and_unpack() 391 > rm -rf '/export/home/ruby/.rvm/src/rvm/*' | |
+ : get_and_unpack() 392 > __rvm_debug_command tar xzf /export/home/ruby/.rvm/archives/rvm-stable.tgz --strip-components 1 | |
+ : __rvm_debug_command() 224 > debug 'Running(5): tar xzf /export/home/ruby/.rvm/archives/rvm-stable.tgz --strip-components 1' | |
+ : debug() 28 > [[ 0 -eq 0 ]] | |
+ : __rvm_debug_command() 225 > tar xzf /export/home/ruby/.rvm/archives/rvm-stable.tgz --strip-components 1 | |
+ : __rvm_debug_command() 226 > true | |
+ : install_head() 321 > return | |
+ : rvm_install() 794 > rvm_install_main | |
+ : rvm_install_main() 743 > flags+=(--path "$rvm_path") | |
+ : rvm_install_main() 744 > chmod +x ./scripts/install | |
chmod: cannot access './scripts/install': No such file or directory | |
ruby@ruby01:/export/home/ruby$ ls | |
local.cshrc local.login local.profile | |
ruby@ruby01:/export/home/ruby$ ls -l | |
total 5 | |
-rw-r--r-- 1 ruby other 1039 Jul 12 02:44 local.cshrc | |
-rw-r--r-- 1 ruby other 988 Jul 12 02:44 local.login | |
-rw-r--r-- 1 ruby other 1002 Jul 12 02:44 local.profile | |
ruby@ruby01:/export/home/ruby$ cd - | |
-sh: cd: bad directory | |
ruby@ruby01:/export/home/ruby$ cd | |
ruby@ruby01:/export/home/ruby$ ls -la | |
total 12 | |
drwxr-xr-x 3 ruby other 8 Jul 12 02:45 . | |
drwxr-xr-x 4 root root 4 Jul 12 02:44 .. | |
-rw-r--r-- 1 ruby other 530 Jul 12 02:44 .profile | |
drwxr-xr-x 4 ruby other 5 Jul 12 02:45 .rvm | |
-rw------- 1 ruby other 136 Jul 12 02:46 .sh_history | |
-rw-r--r-- 1 ruby other 1039 Jul 12 02:44 local.cshrc | |
-rw-r--r-- 1 ruby other 988 Jul 12 02:44 local.login | |
-rw-r--r-- 1 ruby other 1002 Jul 12 02:44 local.profile | |
ruby@ruby01:/export/home/ruby$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment