Skip to content

@mabonyi /gist:2591087
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
RVM errors after every bash prompt
02:29:55 mabs@leviathan:~ ruby-1.9.3-p194
$ rvm --trace info rvm
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
+ [[ -n '' ]]
+ export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 790 > [[ -z '' ]]
+ /scripts/cli : __rvm_parse_args() 790 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 792 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 792 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 13 > [[ -n info ]]
+ /scripts/cli : __rvm_parse_args() 15 > rvm_token=info
+ /scripts/cli : __rvm_parse_args() 17 > (( 1 > 0 ))
+ /scripts/cli : __rvm_parse_args() 19 > next_token=rvm
+ /scripts/cli : __rvm_parse_args() 20 > shift
+ /scripts/cli : __rvm_parse_args() 38 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 42 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 234 > [[ ls == '' ]]
+ /scripts/cli : __rvm_parse_args() 236 > rvm_action=info
+ /scripts/cli : __rvm_parse_args() 237 > rvm_ruby_args=("$next_token" "$@")
+ /scripts/cli : __rvm_parse_args() 238 > rvm_parse_break=1
+ /scripts/cli : __rvm_parse_args() 790 > [[ -z info ]]
+ /scripts/cli : __rvm_parse_args() 792 > [[ 1 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 792 > break
+ /scripts/cli : __rvm_parse_args() 796 > [[ 0 -gt 0 ]]
+ /scripts/cli : __rvm_parse_args() 798 > [[ -n '' ]]
+ /scripts/cli : rvm() 861 > result=0
+ /scripts/cli : rvm() 863 > rvm_action=info
+ /scripts/cli : rvm() 865 > [[ 0 -gt 0 ]]
+ /scripts/cli : rvm() 879 > case "$rvm_action" in
+ /scripts/cli : rvm() 951 > rvm_is_not_a_shell_function=
+ /scripts/cli : rvm() 951 > /usr/local/rvm/scripts/info rvm
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
++ /scripts/base : 11 > [[ -z '' ]]
++ /scripts/base : 16 > export PS4
++ /scripts/base : 17 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
++ /scripts/base : 26 > export __array_start rvm_path
++ /scripts/base : 31 > [[ -n '' ]]
++ /scripts/base : 35 > __array_start=0
++ /scripts/base : 38 > (( 0 == 0 ))
++ /scripts/base : 40 > : rvm_stored_umask:0022
++ /scripts/base : 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/base : 43 > [[ -f /etc/rvmrc ]]
++ /scripts/base : 45 > GREP_OPTIONS=
++ /scripts/base : 45 > grep '^\s*rvm .*$' /etc/rvmrc
++ /scripts/base : 54 > source /etc/rvmrc
+++ /etc/rvmrc : 1 > rvm_project_rvmrc=1
+++ /etc/rvmrc : 2 > rvm_trust_rvmrcs_flag=1
+++ /etc/rvmrc : 3 > rvm_gem_options='--no-rdoc --no-ri'
+++ /etc/rvmrc : 4 > rvm_path=/usr/local/rvm
+++ /etc/rvmrc : 5 > rvm_pretty_print_flag=1
+++ /etc/rvmrc : 6 > rvm_auto_reload_flag=1
+++ /etc/rvmrc : 7 > rvm_ps1=1
++ /scripts/base : 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/base : 43 > [[ -f /Users/rug/.rvmrc ]]
++ /scripts/base : 60 > export rvm_path
++ /scripts/base : 61 > [[ -z /usr/local/rvm ]]
++ /scripts/base : 73 > true /usr/local/rvm/scripts
++ /scripts/base : 76 > source /usr/local/rvm/scripts/initialize
+++ /scripts/initialize : 3 > : rvm_trace_flag:1
+++ /scripts/initialize : 4 > (( rvm_trace_flag > 0 ))
+++ /scripts/initialize : 6 > set -o xtrace
+++ /scripts/initialize : 9 > [[ -z '' ]]
+++ /scripts/initialize : 14 > export PS4
+++ /scripts/initialize : 15 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+++ /scripts/initialize : 26 > [[ -n 3.2.48(1)-release ]]
+++ /scripts/initialize : 28 > shopt -s extglob
+++ /scripts/initialize : 38 > export __rvm_env_loaded
+++ /scripts/initialize : 40 > : __rvm_env_loaded:1:
+++ /scripts/initialize : 42 > : __rvm_env_loaded:2:
+++ /scripts/initialize : 45 > [[ -z /usr/local/rvm/tmp ]]
+++ /scripts/initialize : 45 > (( __rvm_env_loaded == 1 ))
++ /scripts/base : 80 > case " ${rvm_base_except:-} " in
++ /scripts/base : 85 > source /usr/local/rvm/scripts/selector
++ /scripts/base : 86 > source /usr/local/rvm/scripts/selector_gemsets
++ /scripts/base : 90 > typeset -a scripts
++ /scripts/base : 93 > scripts=(logging utility init cleanup env rvmrc install environment gemset db bundler)
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/logging
+++ /scripts/functions/logging : 40 > case "${TERM:-dumb}" in
++++ /scripts/functions/logging : 49 > /usr/local/rvm/scripts/color red
+++ /scripts/functions/logging : 49 > rvm_error_clr=''
++++ /scripts/functions/logging : 50 > /usr/local/rvm/scripts/color yellow
+++ /scripts/functions/logging : 50 > rvm_warn_clr=''
++++ /scripts/functions/logging : 51 > /usr/local/rvm/scripts/color magenta
+++ /scripts/functions/logging : 51 > rvm_debug_clr=''
++++ /scripts/functions/logging : 52 > /usr/local/rvm/scripts/color green
+++ /scripts/functions/logging : 52 > rvm_notify_clr=''
++++ /scripts/functions/logging : 53 > /usr/local/rvm/scripts/color reset
+++ /scripts/functions/logging : 53 > rvm_reset_clr=''
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/utility
+++ /scripts/functions/utility : 3 > [[ -z tar ]]
+++ /scripts/functions/utility : 7 > rvm_tar_command=tar
+++ /scripts/functions/utility : 10 > [[ ! =~ --no-same-owner ]]
+++ /scripts/functions/utility : 11 > tar --help
+++ /scripts/functions/utility : 11 > GREP_OPTIONS=
+++ /scripts/functions/utility : 11 > grep -- --no-same-owner
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/init
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/cleanup
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/env
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/rvmrc
+++ /scripts/functions/rvmrc : 3 > export escape_flag _first _second
+++ /scripts/functions/rvmrc : 4 > escape_flag=1
+++ /scripts/functions/rvmrc : 5 > _first=0
+++ /scripts/functions/rvmrc : 6 > _second=1
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/install
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/environment
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/gemset
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/db
++ /scripts/base : 94 > for entry in '${scripts[@]}'
++ /scripts/base : 95 > source /usr/local/rvm/scripts/functions/bundler
++ /scripts/base : 97 > unset scripts entry rvm_base_except
+ /scripts/info : 6 > source /usr/local/rvm/scripts/version
+ /scripts/info : 192 > rvm_ruby_gem_home=/usr/local/rvm/gems/ruby-1.9.3-p194
+ /scripts/info : 194 > [[ ! -d /usr/local/rvm/gems/ruby-1.9.3-p194 ]]
+ /scripts/info : 198 > rvm_info=
+ /scripts/info : 200 > args=($*)
+ /scripts/info : 202 > ruby_strings=rvm
+ /scripts/info : 203 > args[$__array_start]=
+ /scripts/info : 204 > args=(${args[@]})
+ /scripts/info : 206 > sections=
+ /scripts/info : 207 > all_sections='system rvm ruby homes binaries environment'
+ /scripts/info : 211 > /usr/local/rvm/scripts/match 'system rvm ruby homes binaries environment debug' rvm
+ /scripts/info : 212 > sections=rvm
+ /scripts/info : 213 > ruby_strings=
+ /scripts/info : 216 > [[ -z rvm ]]
+ /scripts/info : 220 > rvm_is_a_shell_function
+ /scripts/functions/utility : rvm_is_a_shell_function() 285 > (( 0 > 0 ))
+ /scripts/functions/utility : rvm_is_a_shell_function() 301 > return 0
+ /scripts/info : 222 > [[ -z '' ]]
++ /scripts/info : 224 > __rvm_env_string
++ /scripts/functions/environment : __rvm_env_string() 5 > typeset _path _string
++ /scripts/functions/environment : __rvm_env_string() 7 > _path=/usr/local/rvm/gems/ruby-1.9.3-p194
++ /scripts/functions/environment : __rvm_env_string() 9 > _string=ruby-1.9.3-p194
++ /scripts/functions/environment : __rvm_env_string() 10 > _string=ruby-1.9.3-p194
++ /scripts/functions/environment : __rvm_env_string() 12 > printf %b ruby-1.9.3-p194
+ /scripts/info : 224 > printf %b '\nruby-1.9.3-p194:\n'
ruby-1.9.3-p194:
+ /scripts/info : 226 > info_sections
++ /scripts/info : info_sections() 178 > printf %b rvm
+ /scripts/info : info_sections() 180 > for section in '$(printf "%b" "${sections//,/ }")'
+ /scripts/info : info_sections() 182 > rvm_info=
+ /scripts/info : info_sections() 184 > info_rvm
+ /scripts/info : info_rvm() 43 > typeset installed_at years months days hours minutes seconds part
++ /scripts/info : info_rvm() 47 > __rvm_version
++ /scripts/info : info_rvm() 47 > tr '\n' ' '
++ /scripts/version : __rvm_version() 17 > __rvm_meta
++ /scripts/info : info_rvm() 47 > __rvm_strip
++ /scripts/version : __rvm_meta() 5 > rvm_meta_author='Wayne E. Seguin'
++ /scripts/version : __rvm_meta() 6 > rvm_meta_author_email=wayneeseguin@gmail.com
++ /scripts/version : __rvm_meta() 10 > rvm_meta_authors=("Wayne E. Seguin <wayneeseguin@gmail.com>" "Michal Papis <mpapis@gmail.com>")
++ /scripts/functions/utility : __rvm_strip() 219 > sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' -e 's/[[:space:]]\{1,\}/ /g'
++ /scripts/version : __rvm_meta() 11 > rvm_meta_website=https://rvm.io/
++ /scripts/version : __rvm_meta() 12 > rvm_meta_version='1.13.0 (stable)'
++ /scripts/version : __rvm_version() 19 > typeset IFS release
++ /scripts/version : __rvm_version() 20 > IFS=:
++ /scripts/version : __rvm_version() 21 > rvm_meta_authors='Wayne E. Seguin <wayneeseguin@gmail.com>:Michal Papis <mpapis@gmail.com>'
++ /scripts/version : __rvm_version() 22 > rvm_meta_authors='Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com>'
++ /scripts/version : __rvm_version() 24 > echo -e '\nrvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]\n'
++ /scripts/functions/utility : __rvm_strip() 220 > return 0
+ /scripts/info : info_rvm() 47 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
'
+ /scripts/info : info_rvm() 49 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "'
++ /scripts/info : info_rvm() 50 > cat /usr/local/rvm/installed.at
+ /scripts/info : info_rvm() 50 > installed_at=1335768834
+ /scripts/info : info_rvm() 51 > [[ -n 1335768834 ]]
+ /scripts/info : info_rvm() 51 > (( installed_at ))
++ /scripts/info : info_rvm() 53 > date +%s
+ /scripts/info : info_rvm() 53 > seconds=326161
+ /scripts/info : info_rvm() 54 > (( seconds ))
+ /scripts/info : info_rvm() 56 > minutes=36
+ /scripts/info : info_rvm() 57 > hours=18
+ /scripts/info : info_rvm() 58 > days=3
+ /scripts/info : info_rvm() 59 > months=0
+ /scripts/info : info_rvm() 60 > years=0
+ /scripts/info : info_rvm() 61 > seconds=1
+ /scripts/info : info_rvm() 62 > for part in year month day hour minute second
+ /scripts/info : info_rvm() 63 > eval 'rvm_info="${rvm_info}$(print_part ${years} year)"'
+++ /scripts/info : info_rvm() 63 > print_part 0 year
+++ /scripts/info : print_part() 34 > (( 0 ))
+++ /scripts/info : print_part() 34 > return
++ /scripts/info : info_rvm() 63 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "'
+ /scripts/info : info_rvm() 62 > for part in year month day hour minute second
+ /scripts/info : info_rvm() 63 > eval 'rvm_info="${rvm_info}$(print_part ${months} month)"'
+++ /scripts/info : info_rvm() 63 > print_part 0 month
+++ /scripts/info : print_part() 34 > (( 0 ))
+++ /scripts/info : print_part() 34 > return
++ /scripts/info : info_rvm() 63 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "'
+ /scripts/info : info_rvm() 62 > for part in year month day hour minute second
+ /scripts/info : info_rvm() 63 > eval 'rvm_info="${rvm_info}$(print_part ${days} day)"'
+++ /scripts/info : info_rvm() 63 > print_part 3 day
+++ /scripts/info : print_part() 34 > (( 3 ))
+++ /scripts/info : print_part() 35 > typeset ret
+++ /scripts/info : print_part() 36 > ret='3 day'
+++ /scripts/info : print_part() 37 > (( 3 == 1 ))
+++ /scripts/info : print_part() 37 > ret='3 days'
+++ /scripts/info : print_part() 38 > printf '3 days '
++ /scripts/info : info_rvm() 63 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days '
+ /scripts/info : info_rvm() 62 > for part in year month day hour minute second
+ /scripts/info : info_rvm() 63 > eval 'rvm_info="${rvm_info}$(print_part ${hours} hour)"'
+++ /scripts/info : info_rvm() 63 > print_part 18 hour
+++ /scripts/info : print_part() 34 > (( 18 ))
+++ /scripts/info : print_part() 35 > typeset ret
+++ /scripts/info : print_part() 36 > ret='18 hour'
+++ /scripts/info : print_part() 37 > (( 18 == 1 ))
+++ /scripts/info : print_part() 37 > ret='18 hours'
+++ /scripts/info : print_part() 38 > printf '18 hours '
++ /scripts/info : info_rvm() 63 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days 18 hours '
+ /scripts/info : info_rvm() 62 > for part in year month day hour minute second
+ /scripts/info : info_rvm() 63 > eval 'rvm_info="${rvm_info}$(print_part ${minutes} minute)"'
+++ /scripts/info : info_rvm() 63 > print_part 36 minute
+++ /scripts/info : print_part() 34 > (( 36 ))
+++ /scripts/info : print_part() 35 > typeset ret
+++ /scripts/info : print_part() 36 > ret='36 minute'
+++ /scripts/info : print_part() 37 > (( 36 == 1 ))
+++ /scripts/info : print_part() 37 > ret='36 minutes'
+++ /scripts/info : print_part() 38 > printf '36 minutes '
++ /scripts/info : info_rvm() 63 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days 18 hours 36 minutes '
+ /scripts/info : info_rvm() 62 > for part in year month day hour minute second
+ /scripts/info : info_rvm() 63 > eval 'rvm_info="${rvm_info}$(print_part ${seconds} second)"'
+++ /scripts/info : info_rvm() 63 > print_part 1 second
+++ /scripts/info : print_part() 34 > (( 1 ))
+++ /scripts/info : print_part() 35 > typeset ret
+++ /scripts/info : print_part() 36 > ret='1 second'
+++ /scripts/info : print_part() 37 > (( 1 == 1 ))
+++ /scripts/info : print_part() 38 > printf '1 second '
++ /scripts/info : info_rvm() 63 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days 18 hours 36 minutes 1 second '
+ /scripts/info : info_rvm() 65 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days 18 hours 36 minutes 1 second ago'
+ /scripts/info : info_rvm() 72 > rvm_info='
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days 18 hours 36 minutes 1 second ago"\n'
+ /scripts/info : info_sections() 186 > printf %b '
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days 18 hours 36 minutes 1 second ago"\n'
rvm:
version: "rvm 1.13.0 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 days 18 hours 36 minutes 1 second ago"
+ /scripts/info : 242 > exit 0
+ /scripts/cli : rvm() 1099 > current_result=0
+ /scripts/cli : rvm() 1101 > (( result > 0 ))
+ /scripts/cli : rvm() 1101 > result=0
+ /scripts/cli : rvm() 1103 > [[ 0 -gt 0 ]]
+ /scripts/cli : rvm() 1117 > case "$rvm_action" in
+ /scripts/cli : rvm() 1115 > current_result=0
+ /scripts/cli : rvm() 1117 > (( result > 0 ))
+ /scripts/cli : rvm() 1117 > result=0
+ /scripts/cli : rvm() 1119 > [[ 0 -eq 1 ]]
+ /scripts/cli : rvm() 1125 > typeset __local_rvm_trace_flag
+ /scripts/cli : rvm() 1126 > __local_rvm_trace_flag=1
+ /scripts/cli : rvm() 1128 > __rvm_teardown
+ /scripts/functions/environment : __rvm_teardown() 1 > builtin command -v __rvm_cleanup_tmp
+ /scripts/functions/environment : __rvm_teardown() 3 > __rvm_cleanup_tmp
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 1 > [[ -d /usr/local/rvm/tmp/ ]]
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 97 > case "${rvm_tmp_path%\/}" in
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 5 > __rvm_rm_rf '/usr/local/rvm/tmp/3384*'
+ /scripts/functions/cleanup : __rvm_rm_rf() 1 > typeset result target
+ /scripts/functions/cleanup : __rvm_rm_rf() 2 > result=1
+ /scripts/functions/cleanup : __rvm_rm_rf() 3 > target='/usr/local/rvm/tmp/3384*'
+ /scripts/functions/cleanup : __rvm_rm_rf() 6 > [[ -n '' ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 10 > [[ -n 3.2.48(1)-release ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 12 > shopt -s extglob
+ /scripts/functions/cleanup : __rvm_rm_rf() 25 > case "${target}" in
+ /scripts/functions/cleanup : __rvm_rm_rf() 24 > [[ -n /usr/local/rvm/tmp/3384* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 26 > [[ -d /usr/local/rvm/tmp/3384* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 30 > [[ -f /usr/local/rvm/tmp/3384* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 30 > [[ -L /usr/local/rvm/tmp/3384* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 35 > result=0
+ /scripts/functions/cleanup : __rvm_rm_rf() 41 > return 0
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 96 > return 0
+ /scripts/functions/environment : __rvm_teardown() 258 > export __rvm_env_loaded
+ /scripts/functions/environment : __rvm_teardown() 260 > : __rvm_env_loaded:1:
+ /scripts/functions/environment : __rvm_teardown() 261 > : __rvm_env_loaded:1:
+ /scripts/functions/environment : __rvm_teardown() 263 > : __rvm_env_loaded:0:
+ /scripts/functions/environment : __rvm_teardown() 265 > [[ -z /usr/local/rvm/tmp ]]
+ /scripts/functions/environment : __rvm_teardown() 265 > (( __rvm_env_loaded > 0 ))
+ /scripts/functions/environment : __rvm_teardown() 270 > [[ -n 3.2.48(1)-release ]]
+ /scripts/functions/environment : __rvm_teardown() 272 > trap - 0 1 2 3 15
+ /scripts/functions/environment : __rvm_teardown() 275 > [[ -n '' ]]
+ /scripts/functions/environment : __rvm_teardown() 285 > [[ -n 0022 ]]
+ /scripts/functions/environment : __rvm_teardown() 287 > umask 0022
+ /scripts/functions/environment : __rvm_teardown() 299 > unset rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_autoconf_flags rvm_dump_environment_flag rvm_verbose_flag rvm_debug_flag rvm_trace_flag rvm_pretty_print_flag rvm_create_flag rvm_remove_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_ignore_gemsets_flag rvm_install_on_use_flag
+ /scripts/functions/environment : __rvm_teardown() 300 > unset rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_ruby_load_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_externals_path
+ /scripts/functions/environment : __rvm_teardown() 301 > unset rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_require rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name
+ /scripts/functions/environment : __rvm_teardown() 302 > unset __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_architectures rvm_patch_names rvm_tar_command rvm_tar_options rvm_ree_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name
+ /scripts/functions/environment : __rvm_teardown() 304 > builtin command -v __rvm_cleanup_download
+ /scripts/functions/environment : __rvm_teardown() 309 > return 0
+ /scripts/cli : rvm() 1136 > (( __local_rvm_trace_flag > 0 ))
+ /scripts/cli : rvm() 1138 > set +o verbose
+ /scripts/cli : rvm() 1139 > set +o xtrace
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
02:29:55 mabs@leviathan:~ ruby-1.9.3-p194
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.