wayneeseguin/rvm — Issue #566: rvm jruby tries to pick up settings from ./jruby folder; and fails
Author: echristopherson
Created: 2011-11-04 07:20:13+00:00
State: open

When I type `rvm jruby` in a directory that happens to have a subdirectory named jruby, rvm seems to look at jruby/.rvmrc for guidance. I'm not sure if this is by design or not. It certainly surprised me.

In any case, its behavior doesn't seem reasonable; e. g. if jruby/.rvmrc specifies `rvm use jruby`, if I then type `rvm jruby`, rvm responds with:
`ERROR: Unknown ruby interpreter string component: '/Users/eric/.rvm/gems/ruby'`

Issues I see:
1. I'm not sure why rvm is reading jruby/.rvm at all, since I'm not entering that directory.
2. I'm not sure why rvm looks for an interpreter called /Users/eric/.rvm/gems/ruby instead of .../jruby, when the jruby/.rvmrc specifies `rvm use jruby`.
3. I'm not sure if the rubies should be shown under .../gems/... at all. Shouldn't rvm show a .../rubies/... path? (That is indeed what `rvm info` shows.)

Sample interaction session that hopefully demonstrates the problem:

$ rvm use default
Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
$ mkdir jruby
$ rvm use jruby
Using /Users/eric/.rvm/gems/jruby-1.6.5
$ rvm use default
Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
$ touch jruby/.rvmrc
$ rvm use jruby
Using /Users/eric/.rvm/gems/jruby-1.6.5
$ rvm use default
Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
$ echo 'rvm use jruby' > jruby/.rvmrc
$ rvm use jruby
==============================================================================
= NOTICE =
==============================================================================
= RVM has encountered a new or modified .rvmrc file in the current directory =
= This is a shell script and therefore may contain any shell commands. =
= =
= Examine the contents of this file carefully to be sure the contents are =
= safe before trusting it! ( Choose v[iew] below to view the contents ) =
==============================================================================
Do you wish to trust this .rvmrc file? (/Users/eric/jruby/.rvmrc)
y[es], n[o], v[iew], c[ancel]> y
Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ERROR: Unknown ruby interpreter string component: '/Users/eric/.rvm/gems/ruby'
$ echo 'rvm use default' > jruby/.rvmrc
$ rvm use jruby
==============================================================================
= NOTICE =
==============================================================================
= RVM has encountered a new or modified .rvmrc file in the current directory =
= This is a shell script and therefore may contain any shell commands. =
= =
= Examine the contents of this file carefully to be sure the contents are =
= safe before trusting it! ( Choose v[iew] below to view the contents ) =
==============================================================================
Do you wish to trust this .rvmrc file? (/Users/eric/jruby/.rvmrc)
y[es], n[o], v[iew], c[ancel]> y
Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ERROR: Unknown ruby interpreter string component: '/Users/eric/.rvm/gems/ruby'
$
$ # Traced: #
$
$ rvm --trace use jruby
+ [[ -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() 705 > [[ -z '' ]]
+ /scripts/cli : __rvm_parse_args() 705 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 707 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 707 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 19 > [[ -n use ]]
+ /scripts/cli : __rvm_parse_args() 21 > rvm_token=use
+ /scripts/cli : __rvm_parse_args() 23 > (( 1 > 0 ))
+ /scripts/cli : __rvm_parse_args() 25 > next_token=jruby
+ /scripts/cli : __rvm_parse_args() 26 > shift
+ /scripts/cli : __rvm_parse_args() 48 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 52 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 37 > rvm_action=use
+ /scripts/cli : __rvm_parse_args() 38 > rvm_verbose_flag=1
+ /scripts/cli : __rvm_parse_args() 39 > [[ ruby == \j\r\u\b\y ]]
+ /scripts/cli : __rvm_parse_args() 705 > [[ -z use ]]
+ /scripts/cli : __rvm_parse_args() 707 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 707 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 19 > [[ -n jruby ]]
+ /scripts/cli : __rvm_parse_args() 21 > rvm_token=jruby
+ /scripts/cli : __rvm_parse_args() 23 > (( 0 > 0 ))
+ /scripts/cli : __rvm_parse_args() 28 > next_token=
+ /scripts/cli : __rvm_parse_args() 48 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 52 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 300 > [[ -n jruby ]]
+ /scripts/cli : __rvm_parse_args() 304 > [[ gemset == \u\s\e ]]
+ /scripts/cli : __rvm_parse_args() 321 > [[ -d jruby ]]
+ /scripts/cli : __rvm_parse_args() 321 > [[ -f jruby/.rvmrc ]]
+ /scripts/cli : __rvm_parse_args() 321 > [[ -s jruby/.rvmrc ]]
+ /scripts/cli : __rvm_parse_args() 323 > __rvm_rvmrc_tools try_to_read_ruby jruby
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 1 > export escape_flag
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 2 > local rvmrc_action rvmrc_path saveIFS trust
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 4 > escape_flag=1
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 5 > rvmrc_action=try_to_read_ruby
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 7 > (( 2 ))
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 9 > shift
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > builtin cd jruby
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > pwd
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 12 > rvmrc_path=/Users/eric/jruby/.rvmrc
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 121 > case "$rvmrc_action" in
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > dirname /Users/eric/jruby/.rvmrc
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 94 > __rvm_rvmrc_tools is_trusted /Users/eric/jruby
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 1 > export escape_flag
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 2 > local rvmrc_action rvmrc_path saveIFS trust
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 4 > escape_flag=1
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 5 > rvmrc_action=is_trusted
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 7 > (( 2 ))
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 9 > shift
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > builtin cd /Users/eric/jruby
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > pwd
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 12 > rvmrc_path=/Users/eric/jruby/.rvmrc
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 121 > case "$rvmrc_action" in
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 66 > [[ -f /Users/eric/jruby/.rvmrc ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 68 > saveIFS='
'
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 69 > IFS=';'
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 70 > trust=($(__rvm_rvmrc_stored_trust "$rvmrc_path"))
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > __rvm_rvmrc_stored_trust /Users/eric/jruby/.rvmrc
+++ /scripts/functions/rvmrc : __rvm_rvmrc_stored_trust() -99 > __rvm_rvmrc_key /Users/eric/jruby/.rvmrc
+++ /scripts/functions/rvmrc : __rvm_rvmrc_key() 1 > printf /Users/eric/jruby/.rvmrc
+++ /scripts/functions/rvmrc : __rvm_rvmrc_key() 1 > tr '[#/.=]' _
+++ /scripts/functions/rvmrc : __rvm_rvmrc_key() 2 > return 0
++ /scripts/functions/rvmrc : __rvm_rvmrc_stored_trust() 1 > /Users/eric/.rvm/scripts/db /Users/eric/.rvm/user/rvmrcs _Users_eric_jruby__rvmrc
++ /scripts/functions/rvmrc : __rvm_rvmrc_stored_trust() 3 > return 0
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 71 > IFS='
'
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > __rvm_md5_for_contents /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 1 > command -v md5
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 3 > echo /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 3 > cat - /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 3 > md5
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 12 > return 0
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > __rvm_sha256_for_contents /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 1 > command -v sha256sum
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 3 > command -v sha256
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 5 > command -v shasum
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > echo /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > shasum -a256
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > cat - /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > awk '{print $1}'
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 12 > return 0
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 73 > [[ dd48a1f6caf6b4bb512a998b09085562a11a80f57205fda44b28db9fd91b47d037deda57e9baeb62fd17460ab328093e != \d\d\4\8\a\1\f\6\c\a\f\6\b\4\b\b\5\1\2\a\9\9\8\b\0\9\0\8\5\5\6\2\a\1\1\a\8\0\f\5\7\2\0\5\f\d\a\4\4\b\2\8\d\b\9\f\d\9\1\b\4\7\d\0\3\7\d\e\d\a\5\7\e\9\b\a\e\b\6\2\f\d\1\7\4\6\0\a\b\3\2\8\0\9\3\e ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 76 > [[ 1 == \1 ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 78 > return 0
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > dirname /Users/eric/jruby/.rvmrc
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 100 > __rvm_rvmrc_tools is_trusted /Users/eric/jruby
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 1 > export escape_flag
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 2 > local rvmrc_action rvmrc_path saveIFS trust
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 4 > escape_flag=1
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 5 > rvmrc_action=is_trusted
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 7 > (( 2 ))
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 9 > shift
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > builtin cd /Users/eric/jruby
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > pwd
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 12 > rvmrc_path=/Users/eric/jruby/.rvmrc
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 121 > case "$rvmrc_action" in
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 66 > [[ -f /Users/eric/jruby/.rvmrc ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 68 > saveIFS='
'
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 69 > IFS=';'
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 70 > trust=($(__rvm_rvmrc_stored_trust "$rvmrc_path"))
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > __rvm_rvmrc_stored_trust /Users/eric/jruby/.rvmrc
+++ /scripts/functions/rvmrc : __rvm_rvmrc_stored_trust() -99 > __rvm_rvmrc_key /Users/eric/jruby/.rvmrc
+++ /scripts/functions/rvmrc : __rvm_rvmrc_key() 1 > printf /Users/eric/jruby/.rvmrc
+++ /scripts/functions/rvmrc : __rvm_rvmrc_key() 1 > tr '[#/.=]' _
+++ /scripts/functions/rvmrc : __rvm_rvmrc_key() 2 > return 0
++ /scripts/functions/rvmrc : __rvm_rvmrc_stored_trust() 1 > /Users/eric/.rvm/scripts/db /Users/eric/.rvm/user/rvmrcs _Users_eric_jruby__rvmrc
++ /scripts/functions/rvmrc : __rvm_rvmrc_stored_trust() 3 > return 0
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 71 > IFS='
'
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > __rvm_md5_for_contents /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 1 > command -v md5
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 3 > echo /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 3 > cat - /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 3 > md5
++ /scripts/functions/rvmrc : __rvm_md5_for_contents() 12 > return 0
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -106 > __rvm_sha256_for_contents /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 1 > command -v sha256sum
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 3 > command -v sha256
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 5 > command -v shasum
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > echo /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > cat - /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > shasum -a256
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 6 > awk '{print $1}'
++ /scripts/functions/rvmrc : __rvm_sha256_for_contents() 12 > return 0
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 73 > [[ dd48a1f6caf6b4bb512a998b09085562a11a80f57205fda44b28db9fd91b47d037deda57e9baeb62fd17460ab328093e != \d\d\4\8\a\1\f\6\c\a\f\6\b\4\b\b\5\1\2\a\9\9\8\b\0\9\0\8\5\5\6\2\a\1\1\a\8\0\f\5\7\2\0\5\f\d\a\4\4\b\2\8\d\b\9\f\d\9\1\b\4\7\d\0\3\7\d\e\d\a\5\7\e\9\b\a\e\b\6\2\f\d\1\7\4\6\0\a\b\3\2\8\0\9\3\e ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 76 > [[ 1 == \1 ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 78 > return 0
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 102 > rvm_action=use
+++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -212 > dirname /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -105 > __rvm_rvmrc_tools load /Users/eric/jruby
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 1 > export escape_flag
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 2 > local rvmrc_action rvmrc_path saveIFS trust
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 4 > escape_flag=1
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 5 > rvmrc_action=load
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 7 > (( 2 ))
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 9 > shift
+++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -95 > builtin cd /Users/eric/jruby
+++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -95 > pwd
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 12 > rvmrc_path=/Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 121 > case "$rvmrc_action" in
+++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -18 > dirname /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 89 > rvm_rvmrc_cwd=
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 89 > rvm_trust_rvmrcs_flag=1
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 89 > __rvm_project_rvmrc /Users/eric/jruby
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 1 > local working_dir rvm_trustworthiness_result
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 4 > working_dir=/Users/eric/jruby
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 6 > :
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 8 > [[ -z /Users/eric/jruby ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 8 > [[ /Users/eric == \/\U\s\e\r\s\/\e\r\i\c\/\j\r\u\b\y ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 8 > [[ / == \/\U\s\e\r\s\/\e\r\i\c\/\j\r\u\b\y ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 24 > [[ -f /Users/eric/jruby/.rvmrc ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 26 > [[ '' != \/\U\s\e\r\s\/\e\r\i\c\/\j\r\u\b\y\/\.\r\v\m\r\c ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 28 > __rvm_check_rvmrc_trustworthiness /Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 1 > local saveIFS trust result
++ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 3 > [[ -n /Users/eric/jruby/.rvmrc ]]
++ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 3 > [[ 1 == 0 ]]
++ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 18 > result=0
++ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 19 > unset escape_flag
++ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 20 > return 0
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 141 > rvm_trustworthiness_result=0
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 142 > (( 0 == 0 ))
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 144 > __rvm_remove_rvm_from_path
+++ /scripts/functions/env : __rvm_remove_rvm_from_path() -140 > awk -v RS=: -v ORS=: '/\/Users\/eric\/.rvm/ {next} {print}'
+++ /scripts/functions/env : __rvm_remove_rvm_from_path() -140 > printf /Users/eric/.rvm/gems/ruby-1.9.2-p290/bin:/Users/eric/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/eric/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/eric/.rvm/bin:/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
++ /scripts/functions/env : __rvm_remove_rvm_from_path() 2 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:
++ /scripts/functions/env : __rvm_remove_rvm_from_path() 3 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
++ /scripts/functions/env : __rvm_remove_rvm_from_path() 5 > export PATH
++ /scripts/functions/env : __rvm_remove_rvm_from_path() 7 > builtin hash -r
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 235 > __rvm_conditionally_add_bin_path
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > grep -vF '/Users/eric/.rvm/bin '
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > printf '/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools /Users/eric/Sources/Mercurial/go/bin /usr/local/narwhal/bin /Users/eric/Programs /usr/local/bin /opt/local/bin /opt/local/sbin /usr/bin /bin /usr/sbin /sbin /usr/X11/bin'
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 48 > case "${rvm_ruby_string:-"system"}" in
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 5 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/eric/.rvm/bin
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 12 > builtin hash -r
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 15 > return 0
+++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 288 > __rvm_env_string
+++ /scripts/functions/environment : __rvm_env_string() 1 > local _path _string
+++ /scripts/functions/environment : __rvm_env_string() 3 > _path=/Users/eric/.rvm/gems/ruby-1.9.2-p290
+++ /scripts/functions/environment : __rvm_env_string() 5 > _string=ruby-1.9.2-p290
+++ /scripts/functions/environment : __rvm_env_string() 6 > _string=ruby-1.9.2-p290
+++ /scripts/functions/environment : __rvm_env_string() 8 > printf ruby-1.9.2-p290
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 333 > rvm_previous_environment=ruby-1.9.2-p290
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 334 > rvm_current_rvmrc=/Users/eric/jruby/.rvmrc
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 335 > source /Users/eric/jruby/.rvmrc
+++ /Users/eric/jruby/.rvmrc : source() -44 > rvm use default
+++ /scripts/cli : rvm() 1 > local result current_result
+++ /scripts/cli : rvm() 3 > [[ -z '' ]]
+++ /scripts/cli : rvm() 5 > trap __rvm_teardown 0 1 2 3 15
+++ /scripts/cli : rvm() 9 > [[ 2 -gt 0 ]]
+++ /scripts/cli : rvm() 9 > next_token=use
+++ /scripts/cli : rvm() 9 > shift
+++ /scripts/cli : rvm() 11 > __rvm_cleanse_variables
+++ /scripts/functions/env : __rvm_cleanse_variables() 1 > __rvm_unset_ruby_variables
+++ /scripts/functions/env : __rvm_unset_ruby_variables() 2 > unset rvm_env_string rvm_ruby_string rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path 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_selected_flag rvm_ruby_tag rvm_ruby_version rvm_ruby_load_path rvm_ruby_require rvm_head_flag rvm_ruby_package_file rvm_ruby_configure rvm_ruby_name rvm_ruby_url rvm_ruby_global_gems_path rvm_ruby_args rvm_ruby_name rvm_llvm_flag rvm_architectures
+++ /scripts/functions/env : __rvm_cleanse_variables() 14 > [[ 0 -eq 1 ]]
+++ /scripts/functions/env : __rvm_cleanse_variables() 17 > unset rvm_gemset_name
+++ /scripts/functions/env : __rvm_cleanse_variables() 20 > unset rvm_env_string rvm_ruby_string rvm_action rvm_irbrc_file rvm_command rvm_error_message rvm_force_flag rvm_all_flag rvm_reconfigure_flag rvm_make_flags rvm_bin_flag rvm_import_flag rvm_export_flag rvm_self_flag rvm_gem_flag rvm_rubygems_flag rvm_debug_flag rvm_delete_flag rvm_summary_flag rvm_test_flag _rvm_spec_flag rvm_json_flag rvm_yaml_flag rvm_shebang_flag rvm_env_flag rvm_tail_flag rvm_use_flag rvm_dir_flag rvm_list_flag rvm_empty_flag rvm_file_name rvm_benchmark_flag rvm_clear_flag rvm_name_flag rvm_verbose_flag rvm_user_flag rvm_system_flag rvm_configure_flags rvm_uninstall_flag rvm_install_flag rvm_llvm_flag rvm_ruby_bits rvm_sticky_flag rvm_rvmrc_flag rvm_gems_flag rvm_only_path_flag rvm_docs_flag rvm_ruby_aliases rvm_patch_names rvm_clang_flag rvm_install_args rvm_dump_environment_flag rvm_ruby_alias rvm_static_flag rvm_archive_extension rvm_hook rvm_ruby_name rvm_architectures
+++ /scripts/cli : rvm() 731 > __rvm_load_rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 1 > local _file
+++ /scripts/functions/init : __rvm_load_rvmrc() 2 > (( 0 == 1 ))
+++ /scripts/functions/init : __rvm_load_rvmrc() 11 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 9 > [[ -s /etc/rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 11 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 9 > [[ -s /Users/eric/.rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 11 > command grep '^\s*rvm .*$' /Users/eric/.rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 20 > source /Users/eric/.rvmrc
++++ rc : source() -3 > export 'rvm_make_flags=-j 3'
++++ rc : source() -3 > rvm_make_flags='-j 3'
++++ rc : source() -2 > export 'rvm_archflags=-arch i386'
++++ rc : source() -2 > rvm_archflags='-arch i386'
++++ rc : source() -1 > export rvm_architectures=i386
++++ rc : source() -1 > rvm_architectures=i386
++++ rc : source() 0 > export rvm_path=/Users/eric/.rvm
++++ rc : source() 0 > rvm_path=/Users/eric/.rvm
++++ rc : source() 1 > export rvm_pretty_print_flag=1
++++ rc : source() 1 > rvm_pretty_print_flag=1
++++ rc : source() 2 > export 'rvm_gem_options=--no-rdoc --no-ri'
++++ rc : source() 2 > rvm_gem_options='--no-rdoc --no-ri'
+++ /scripts/functions/init : __rvm_load_rvmrc() 25 > return 0
+++ /scripts/cli : rvm() 748 > __rvm_setup
+++ /scripts/functions/environment : __rvm_setup() 1 > [[ -n '' ]]
+++ /scripts/cli : rvm() 507 > __rvm_initialize
+++ /scripts/functions/init : __rvm_initialize() 1 > rvm_ruby_load_path=.
+++ /scripts/functions/init : __rvm_initialize() 2 > rvm_ruby_require=
+++ /scripts/functions/init : __rvm_initialize() 4 > true /Users/eric/.rvm/scripts
+++ /scripts/functions/init : __rvm_initialize() 5 > source /Users/eric/.rvm/scripts/base
++++ /scripts/base : source() -29 > export __array_start rvm_path
++++ /scripts/base : source() -24 > [[ -n '' ]]
++++ /scripts/base : source() -20 > __array_start=0
++++ /scripts/base : source() -9 > [[ -z /Users/eric/.rvm ]]
++++ /scripts/base : source() 0 > export rvm_path
++++ /scripts/base : source() 2 > true /Users/eric/.rvm/scripts
++++ /scripts/base : source() 5 > source /Users/eric/.rvm/scripts/initialize
+++++ /scripts/initialize : source() -29 > [[ -n 3.2.48(1)-release ]]
+++++ /scripts/initialize : source() -27 > shopt -s extglob
+++++ /scripts/initialize : source() -17 > [[ -z /Users/eric/.rvm ]]
+++++ /scripts/initialize : source() -8 > export rvm_path
+++++ /scripts/initialize : source() -6 > true /Users/eric/.rvm/scripts
+++++ /scripts/initialize : source() -3 > command -v __rvm_load_rvmrc
+++++ /scripts/initialize : source() 5 > [[ -z 1 ]]
+++++ /scripts/initialize : source() 19 > : '(/Users/eric/.bash_profile' /Users/eric/.bashrc '/Users/eric/.zshenv)' /Users/eric/.rvm/bin /Users/eric/.rvm/man /Users/eric/.rvm/archives /Users/eric/.rvm/docs /Users/eric/.rvm/environments /Users/eric/.rvm/examples /Users/eric/.rvm/gems /Users/eric/.rvm/gemsets /Users/eric/.rvm/help /Users/eric/.rvm/hooks /Users/eric/.rvm/lib /Users/eric/.rvm/log /Users/eric/.rvm/patches /Users/eric/.rvm/repos /Users/eric/.rvm/rubies /Users/eric/.rvm/rubygems /Users/eric/.rvm/src /Users/eric/.rvm/tmp /Users/eric/.rvm/user /Users/eric/.rvm/usr /Users/eric/.rvm/wrappers 0 0 /Users/eric/.rvm/gems/cache
+++++ /scripts/initialize : source() 45 > [[ -n -arch i386 ]]
+++++ /scripts/initialize : source() 47 > rvm_make_flags_flag=1
+++++ /scripts/initialize : source() 51 > (( 1 > 0 ))
+++++ /scripts/initialize : source() 53 > export rvm_trace_flag=1
+++++ /scripts/initialize : source() 53 > rvm_trace_flag=1
+++++ /scripts/initialize : source() 55 > set -o xtrace
+++++ /scripts/initialize : source() 58 > [[ -z '' ]]
+++++ /scripts/initialize : source() 63 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+++++ /scripts/initialize : source() 64 > export PS4
+++++ /scripts/initialize : source() 71 > export rvm_action rvm_alias_expanded rvm_archflags rvm_archive_extension rvm_archives_path rvm_bin_flag rvm_bin_path rvm_clang_flag rvm_configure_flags rvm_debug_flag rvm_default_flag rvm_delete_flag rvm_docs_path rvm_docs_type rvm_dump_environment_flag rvm_environments_path rvm_error_message rvm_examples_path rvm_expanding_aliases rvm_file_name rvm_gemdir_flag rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_gemset_separator rvm_gemsets_path rvm_gemstone_package_file rvm_gemstone_url rvm_head_flag rvm_help_path rvm_hook rvm_install_args rvm_install_on_use_flag rvm_lib_path rvm_llvm_flag rvm_loaded_flag rvm_log_path rvm_make_flags rvm_niceness rvm_nightly_flag rvm_only_path_flag rvm_parse_break rvm_patch_names rvm_patch_original_pwd rvm_patches_path rvm_path rvm_pretty_print_flag rvm_prior_cc rvm_proxy rvm_quiet_flag rvm_ree_options rvm_reload_flag rvm_remove_flag rvm_repos_path rvm_rubies_path rvm_ruby_alias rvm_ruby_aliases rvm_ruby_args rvm_ruby_binary rvm_ruby_bits rvm_ruby_configure rvm_ruby_file rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_global_gems_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_load_path rvm_ruby_major_version rvm_ruby_make rvm_ruby_make_install rvm_ruby_minor_version rvm_ruby_mode rvm_ruby_name rvm_ruby_package_file rvm_ruby_package_name rvm_ruby_patch rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_require rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_sha rvm_ruby_string rvm_ruby_strings rvm_ruby_tag rvm_ruby_url rvm_ruby_user_tag rvm_ruby_version rvm_script_name rvm_scripts_path rvm_sdk rvm_user_install_flag rvm_silent_flag rvm_src_path rvm_sticky_flag rvm_system_flag rvm_tmp_path rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_user_path rvm_usr_path rvm_verbose_flag rvm_wrapper_name rvm_wrappers_path rvm_ruby_repo_branch rvm_man_path rvm_architectures
++++ /scripts/base : source() 41 > case " $rvm_base_except " in
++++ /scripts/base : source() 12 > source /Users/eric/.rvm/scripts/selector
++++ /scripts/base : source() 16 > declare -a scripts
++++ /scripts/base : source() 19 > scripts=(logging utility init cleanup env rvmrc install environment gemset db bundler)
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/logging
+++++ /scripts/functions/logging : source() -28 > [[ -t 1 ]]
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/utility
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/init
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/cleanup
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/env
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/rvmrc
+++++ /scripts/functions/rvmrc : source() -31 > export escape_flag _first _second
+++++ /scripts/functions/rvmrc : source() -30 > escape_flag=1
+++++ /scripts/functions/rvmrc : source() -29 > _first=0
+++++ /scripts/functions/rvmrc : source() -28 > _second=1
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/install
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/environment
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/gemset
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/db
++++ /scripts/base : source() 54 > for entry in '${scripts[@]}'
++++ /scripts/base : source() 21 > source /Users/eric/.rvm/scripts/functions/bundler
++++ /scripts/base : source() 23 > unset scripts entry rvm_base_except
++++ /scripts/base : source() 25 > [[ ! -t 0 ]]
+++ /scripts/functions/init : __rvm_initialize() 7 > __rvm_clean_path
++++ /scripts/functions/env : __rvm_clean_path() -128 > printf /Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/eric/.rvm/bin
++++ /scripts/functions/env : __rvm_clean_path() -128 > awk -v RS=: -v ORS=: '!($0 in a){a[$0];print}'
+++ /scripts/functions/env : __rvm_clean_path() 2 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/eric/.rvm/bin:
+++ /scripts/functions/env : __rvm_clean_path() 3 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/eric/.rvm/bin
+++ /scripts/functions/env : __rvm_clean_path() 5 > export PATH
+++ /scripts/functions/env : __rvm_clean_path() 7 > builtin hash -r
+++ /scripts/functions/init : __rvm_initialize() -88 > __rvm_conditionally_add_bin_path
+++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > grep -vF '/Users/eric/.rvm/bin '
+++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > printf '/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools /Users/eric/Sources/Mercurial/go/bin /usr/local/narwhal/bin /Users/eric/Programs /usr/local/bin /opt/local/bin /opt/local/sbin /usr/bin /bin /usr/sbin /sbin /usr/X11/bin /Users/eric/.rvm/bin'
+++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 48 > case "${rvm_ruby_string:-"system"}" in
+++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 5 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/eric/.rvm/bin:/Users/eric/.rvm/bin
+++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 12 > builtin hash -r
+++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 15 > return 0
+++ /scripts/functions/init : __rvm_initialize() -2 > export PATH
+++ /scripts/functions/init : __rvm_initialize() 0 > [[ ! -d /Users/eric/.rvm/tmp ]]
+++ /scripts/functions/init : __rvm_initialize() 5 > return 0
++++ /scripts/cli : rvm() 667 > cat /Users/eric/.rvm/VERSION
+++ /scripts/cli : rvm() 712 > disk_version=1.9.2
+++ /scripts/cli : rvm() 713 > disk_version=1.9.2
+++ /scripts/cli : rvm() 716 > [[ -n 1.9.2 ]]
+++ /scripts/cli : rvm() 716 > [[ 1.9.2 != \1\.\9\.\2 ]]
+++ /scripts/cli : rvm() 724 > __rvm_parse_args default
+++ /scripts/cli : __rvm_parse_args() 1 > local _string
+++ /scripts/cli : __rvm_parse_args() 7 > echo default
+++ /scripts/cli : __rvm_parse_args() 7 > grep trace
+++ /scripts/cli : __rvm_parse_args() 13 > rvm_action=
+++ /scripts/cli : __rvm_parse_args() 15 > export rvm_ruby_string
+++ /scripts/cli : __rvm_parse_args() 17 > rvm_parse_break=0
+++ /scripts/cli : __rvm_parse_args() 19 > [[ -n use ]]
+++ /scripts/cli : __rvm_parse_args() 21 > rvm_token=use
+++ /scripts/cli : __rvm_parse_args() 23 > (( 1 > 0 ))
+++ /scripts/cli : __rvm_parse_args() 25 > next_token=default
+++ /scripts/cli : __rvm_parse_args() 26 > shift
+++ /scripts/cli : __rvm_parse_args() 48 > case "$rvm_token" in
+++ /scripts/cli : __rvm_parse_args() 52 > case "$rvm_token" in
+++ /scripts/cli : __rvm_parse_args() 37 > rvm_action=use
+++ /scripts/cli : __rvm_parse_args() 38 > rvm_verbose_flag=1
+++ /scripts/cli : __rvm_parse_args() 39 > [[ ruby == \d\e\f\a\u\l\t ]]
+++ /scripts/cli : __rvm_parse_args() 705 > [[ -z use ]]
+++ /scripts/cli : __rvm_parse_args() 707 > [[ 0 -eq 1 ]]
+++ /scripts/cli : __rvm_parse_args() 707 > [[ -n '' ]]
+++ /scripts/cli : __rvm_parse_args() 19 > [[ -n default ]]
+++ /scripts/cli : __rvm_parse_args() 21 > rvm_token=default
+++ /scripts/cli : __rvm_parse_args() 23 > (( 0 > 0 ))
+++ /scripts/cli : __rvm_parse_args() 28 > next_token=
+++ /scripts/cli : __rvm_parse_args() 48 > case "$rvm_token" in
+++ /scripts/cli : __rvm_parse_args() 52 > case "$rvm_token" in
+++ /scripts/cli : __rvm_parse_args() 165 > rvm_action=use
+++ /scripts/cli : __rvm_parse_args() 166 > rvm_ruby_interpreter=default
+++ /scripts/cli : __rvm_parse_args() 167 > rvm_ruby_string=default
+++ /scripts/cli : __rvm_parse_args() 168 > rvm_ruby_strings=default
+++ /scripts/cli : __rvm_parse_args() 705 > [[ -z use ]]
+++ /scripts/cli : __rvm_parse_args() 707 > [[ 0 -eq 1 ]]
+++ /scripts/cli : __rvm_parse_args() 707 > [[ -n '' ]]
+++ /scripts/cli : __rvm_parse_args() 19 > [[ -n '' ]]
+++ /scripts/cli : __rvm_parse_args() 711 > [[ 0 -gt 0 ]]
+++ /scripts/cli : __rvm_parse_args() 713 > [[ -n '' ]]
+++ /scripts/cli : rvm() 753 > result=0
+++ /scripts/cli : rvm() 755 > rvm_action=use
+++ /scripts/cli : rvm() 757 > [[ 0 -gt 0 ]]
+++ /scripts/cli : rvm() 775 > case "$rvm_action" in
+++ /scripts/cli : rvm() 760 > __rvm_use
+++ /scripts/selector : __rvm_use() 1 > local new_path binary full_binary_path rvm_ruby_gem_home
+++ /scripts/selector : __rvm_use() 4 > __rvm_select
+++ /scripts/selector : __rvm_select() 1 > true
+++ /scripts/selector : __rvm_select() 2 > local _original_env_string=
+++ /scripts/selector : __rvm_select() 5 > export GEM_HOME GEM_PATH MY_RUBY_HOME RUBY_VERSION
+++ /scripts/selector : __rvm_select() 7 > [[ -z default ]]
+++ /scripts/selector : __rvm_select() 31 > __rvm_ruby_string
+++ /scripts/selector : __rvm_ruby_string() 9 > local ruby_string gemset_name
+++ /scripts/selector : __rvm_ruby_string() 11 > __rvm_default_flags
+++ /scripts/functions/env : __rvm_default_flags() 1 > true 0 0 0
+++ /scripts/selector : __rvm_ruby_string() 571 > rvm_expanding_aliases=
+++ /scripts/selector : __rvm_ruby_string() 574 > true '' '' default '' '' '' '' @ default 0 0
+++ /scripts/selector : __rvm_ruby_string() 579 > echo default
+++ /scripts/selector : __rvm_ruby_string() 579 > grep @
+++ /scripts/selector : __rvm_ruby_string() 586 > (( rvm_expanding_aliases == 0 ))
+++ /scripts/selector : __rvm_ruby_string() 587 > [[ -n default ]]
+++ /scripts/selector : __rvm_ruby_string() 587 > [[ default != \s\y\s\t\e\m ]]
++++ /scripts/selector : __rvm_ruby_string() 581 > /Users/eric/.rvm/scripts/alias show default
+++ /scripts/selector : __rvm_ruby_string() 589 > expanded_alias_name=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_ruby_string() 590 > [[ -n ruby-1.9.2-p290 ]]
+++ /scripts/selector : __rvm_ruby_string() 592 > rvm_ruby_string=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_ruby_string() 600 > echo ruby-1.9.2-p290
+++ /scripts/selector : __rvm_ruby_string() 600 > grep @
+++ /scripts/selector : __rvm_ruby_string() 606 > ruby_string=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_ruby_string() 607 > gemset_name=
+++ /scripts/selector : __rvm_ruby_string() 608 > repo_url=
+++ /scripts/selector : __rvm_ruby_string() 609 > branch_name=
+++ /scripts/selector : __rvm_ruby_string() 610 > ruby_name=
+++ /scripts/selector : __rvm_ruby_string() 612 > __rvm_unset_ruby_variables
+++ /scripts/functions/env : __rvm_unset_ruby_variables() 2 > unset rvm_env_string rvm_ruby_string rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path 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_selected_flag rvm_ruby_tag rvm_ruby_version rvm_ruby_load_path rvm_ruby_require rvm_head_flag rvm_ruby_package_file rvm_ruby_configure rvm_ruby_name rvm_ruby_url rvm_ruby_global_gems_path rvm_ruby_args rvm_ruby_name rvm_llvm_flag rvm_architectures
+++ /scripts/selector : __rvm_ruby_string() 603 > rvm_ruby_repo_url=
+++ /scripts/selector : __rvm_ruby_string() 604 > rvm_ruby_repo_branch=
+++ /scripts/selector : __rvm_ruby_string() 605 > rvm_ruby_name=
+++ /scripts/selector : __rvm_ruby_string() 607 > [[ -n '' ]]
+++ /scripts/selector : __rvm_ruby_string() 613 > strings=($(echo ${ruby_string//-/ }))
++++ /scripts/selector : __rvm_ruby_string() 594 > echo ruby 1.9.2 p290
+++ /scripts/selector : __rvm_ruby_string() 615 > (( 3 == 0 ))
+++ /scripts/selector : __rvm_ruby_string() 649 > for string in '${strings[@]}'
+++ /scripts/selector : __rvm_ruby_string() 651 > case "$string" in
+++ /scripts/selector : __rvm_ruby_string() 762 > rvm_ruby_interpreter=ruby
+++ /scripts/selector : __rvm_ruby_string() 649 > for string in '${strings[@]}'
+++ /scripts/selector : __rvm_ruby_string() 651 > case "$string" in
+++ /scripts/selector : __rvm_ruby_string() 667 > [[ ruby == \r\b\x ]]
+++ /scripts/selector : __rvm_ruby_string() 699 > case "$string" in
+++ /scripts/selector : __rvm_ruby_string() 682 > rvm_ruby_version=1.9.2
+++ /scripts/selector : __rvm_ruby_string() 683 > rvm_ruby_revision=
+++ /scripts/selector : __rvm_ruby_string() 684 > rvm_ruby_tag=
+++ /scripts/selector : __rvm_ruby_string() 649 > for string in '${strings[@]}'
+++ /scripts/selector : __rvm_ruby_string() 651 > case "$string" in
+++ /scripts/selector : __rvm_ruby_string() 696 > rvm_ruby_patch_level=p290
+++ /scripts/selector : __rvm_ruby_string() 776 > [[ -z ruby ]]
+++ /scripts/selector : __rvm_ruby_string() 788 > rvm_ruby_version=1.9.2
+++ /scripts/selector : __rvm_ruby_string() 789 > [[ -z 1.9.2 ]]
+++ /scripts/selector : __rvm_ruby_string() 796 > [[ -z 1.9.2 ]]
+++ /scripts/selector : __rvm_ruby_string() 800 > rvm_ruby_string=ruby-1.9.2
+++ /scripts/selector : __rvm_ruby_string() 804 > (( 0 == 1 ))
+++ /scripts/selector : __rvm_ruby_string() 808 > [[ -n '' ]]
+++ /scripts/selector : __rvm_ruby_string() 812 > [[ -n '' ]]
+++ /scripts/selector : __rvm_ruby_string() 816 > [[ -n '' ]]
+++ /scripts/selector : __rvm_ruby_string() 820 > [[ -n p290 ]]
+++ /scripts/selector : __rvm_ruby_string() 822 > rvm_ruby_string=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_ruby_string() 867 > [[ -n '' ]]
+++ /scripts/selector : __rvm_select() 19 > rvm_archive_extension=tar.gz
+++ /scripts/selector : __rvm_select() 21 > [[ -z ruby ]]
+++ /scripts/selector : __rvm_select() 45 > case "$rvm_ruby_interpreter" in
+++ /scripts/selector : __rvm_select() 231 > rvm_ruby_package_file=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_select() 232 > rvm_ruby_package_name=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_select() 234 > [[ -z 1.9.2 ]]
++++ /scripts/selector : __rvm_select() 219 > __rvm_db ruby_repo_url
++++ /scripts/functions/db : __rvm_db() 1 > local value key variable
++++ /scripts/functions/db : __rvm_db() 3 > key=ruby_repo_url
++++ /scripts/functions/db : __rvm_db() 4 > key=ruby_repo_url
++++ /scripts/functions/db : __rvm_db() 5 > variable=
++++ /scripts/functions/db : __rvm_db() 7 > [[ -f /Users/eric/.rvm/user/db ]]
+++++ /scripts/functions/db : __rvm_db() 2 > /Users/eric/.rvm/scripts/db /Users/eric/.rvm/user/db ruby_repo_url
++++ /scripts/functions/db : __rvm_db() 8 > value=
++++ /scripts/functions/db : __rvm_db() 11 > [[ -z '' ]]
+++++ /scripts/functions/db : __rvm_db() 6 > /Users/eric/.rvm/scripts/db /Users/eric/.rvm/config/db ruby_repo_url
++++ /scripts/functions/db : __rvm_db() 12 > value=git://github.com/ruby/ruby.git
++++ /scripts/functions/db : __rvm_db() 15 > [[ -n git://github.com/ruby/ruby.git ]]
++++ /scripts/functions/db : __rvm_db() 16 > [[ -z '' ]]
++++ /scripts/functions/db : __rvm_db() 17 > echo git://github.com/ruby/ruby.git
++++ /scripts/functions/db : __rvm_db() 23 > return 0
+++ /scripts/selector : __rvm_select() 238 > rvm_ruby_repo_url=git://github.com/ruby/ruby.git
+++ /scripts/selector : __rvm_select() 239 > (( 0 == 0 ))
+++ /scripts/selector : __rvm_select() 241 > rvm_archive_extension=tar.bz2
+++ /scripts/selector : __rvm_select() 275 > [[ -n '' ]]
+++ /scripts/selector : __rvm_select() 294 > rvm_env_string=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_select() 296 > [[ -n 1.9.2 ]]
+++ /scripts/selector : __rvm_select() 317 > case "$rvm_ruby_version" in
+++ /scripts/selector : __rvm_select() 300 > rvm_ruby_release_version=1
+++ /scripts/selector : __rvm_select() 301 > rvm_ruby_major_version=1.9
+++ /scripts/selector : __rvm_select() 301 > rvm_ruby_major_version=9
+++ /scripts/selector : __rvm_select() 302 > rvm_ruby_minor_version=2
+++ /scripts/selector : __rvm_select() 312 > rvm_ruby_package_name=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_select() 313 > rvm_ruby_home=/Users/eric/.rvm/rubies/ruby-1.9.2-p290
+++ /scripts/selector : __rvm_select() 314 > rvm_ruby_binary=/Users/eric/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
+++ /scripts/selector : __rvm_select() 315 > rvm_ruby_irbrc=/Users/eric/.rvm/rubies/ruby-1.9.2-p290/.irbrc
+++ /scripts/selector : __rvm_select() 317 > [[ maglev == \r\u\b\y ]]
+++ /scripts/selector : __rvm_select() 323 > rvm_ruby_gem_home=/Users/eric/.rvm/gems/ruby-1.9.2-p290
+++ /scripts/selector : __rvm_select() 325 > [[ -n '' ]]
+++ /scripts/selector : __rvm_select() 331 > rvm_ruby_global_gems_path=/Users/eric/.rvm/gems/ruby-1.9.2-p290@global
+++ /scripts/selector : __rvm_select() 332 > rvm_ruby_gem_path=/Users/eric/.rvm/gems/ruby-1.9.2-p290:/Users/eric/.rvm/gems/ruby-1.9.2-p290@global
+++ /scripts/selector : __rvm_select() 334 > rvm_ruby_selected_flag=1
+++ /scripts/selector : __rvm_select() 336 > [[ -d /Users/eric/.rvm/log/ruby-1.9.2-p290 ]]
+++ /scripts/selector : __rvm_select() 338 > mkdir -p /Users/eric/.rvm/log/ruby-1.9.2-p290
+++ /scripts/selector : __rvm_select() 341 > export rvm_env_string rvm_action rvm_alias_expanded rvm_archflags rvm_archive_extension rvm_bin_flag rvm_bin_path rvm_clang_flag rvm_configure_flags rvm_debug_flag rvm_default_flag rvm_delete_flag rvm_docs_type rvm_dump_environment_flag rvm_error_message rvm_expanding_aliases rvm_file_name rvm_gemdir_flag rvm_gemset_name rvm_gemstone_package_file rvm_gemstone_url rvm_head_flag rvm_hook rvm_install_args rvm_install_on_use_flag rvm_llvm_flag rvm_loaded_flag rvm_make_flags rvm_niceness rvm_nightly_flag rvm_only_path_flag rvm_parse_break rvm_patch_names rvm_patch_original_pwd rvm_pretty_print_flag rvm_prior_cc rvm_proxy rvm_quiet_flag rvm_ree_options rvm_reload_flag rvm_remove_flag rvm_ruby_alias rvm_ruby_aliases rvm_ruby_args rvm_ruby_binary rvm_ruby_bits rvm_ruby_configure rvm_ruby_file rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_global_gems_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_load_path rvm_ruby_major_version rvm_ruby_make rvm_ruby_make_install rvm_ruby_minor_version rvm_ruby_mode rvm_ruby_name rvm_ruby_package_file rvm_ruby_package_name rvm_ruby_patch rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_require rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_sha rvm_ruby_string rvm_ruby_strings rvm_ruby_tag rvm_ruby_url rvm_ruby_user_tag rvm_ruby_version rvm_script_name rvm_sdk rvm_silent_flag rvm_sticky_flag rvm_system_flag rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_verbose_flag rvm_wrapper_name rvm_architectures
+++ /scripts/selector : __rvm_select() 343 > rvm_ruby_interpreter=ruby
+++ /scripts/selector : __rvm_select() 345 > [[ -n '' ]]
+++ /scripts/selector : __rvm_select() 349 > rvm_env_string=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_use() 417 > [[ system == ruby ]]
+++ /scripts/selector : __rvm_use() 421 > unset BUNDLE_PATH
+++ /scripts/selector : __rvm_use() 422 > GEM_HOME=/Users/eric/.rvm/gems/ruby-1.9.2-p290
+++ /scripts/selector : __rvm_use() 423 > GEM_PATH=/Users/eric/.rvm/gems/ruby-1.9.2-p290:/Users/eric/.rvm/gems/ruby-1.9.2-p290@global
+++ /scripts/selector : __rvm_use() 424 > MY_RUBY_HOME=/Users/eric/.rvm/rubies/ruby-1.9.2-p290
+++ /scripts/selector : __rvm_use() 425 > RUBY_VERSION=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_use() 426 > IRBRC=/Users/eric/.rvm/rubies/ruby-1.9.2-p290/.irbrc
+++ /scripts/selector : __rvm_use() 429 > [[ maglev == \r\u\b\y ]]
+++ /scripts/selector : __rvm_use() 434 > export GEM_HOME GEM_PATH MY_RUBY_HOME RUBY_VERSION IRBRC
+++ /scripts/selector : __rvm_use() 436 > [[ -z /Users/eric/.rvm/rubies/ruby-1.9.2-p290/.irbrc ]]
+++ /scripts/selector : __rvm_use() 441 > [[ ! -d /Users/eric/.rvm/rubies/ruby-1.9.2-p290 ]]
+++ /scripts/selector : __rvm_use() 455 > __rvm_ensure_has_environment_files
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 1 > local environment_id file_name directory identifier variable value variables
++++ /scripts/functions/environment : __rvm_ensure_has_environment_files() -73 > __rvm_env_string
++++ /scripts/functions/environment : __rvm_env_string() 1 > local _path _string
++++ /scripts/functions/environment : __rvm_env_string() 3 > _path=/Users/eric/.rvm/gems/ruby-1.9.2-p290
++++ /scripts/functions/environment : __rvm_env_string() 5 > _string=ruby-1.9.2-p290
++++ /scripts/functions/environment : __rvm_env_string() 6 > _string=ruby-1.9.2-p290
++++ /scripts/functions/environment : __rvm_env_string() 8 > printf ruby-1.9.2-p290
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 3 > environment_id=ruby-1.9.2-p290
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 5 > file_name=/Users/eric/.rvm/environments/ruby-1.9.2-p290
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 7 > [[ ! -d /Users/eric/.rvm/environments ]]
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 12 > [[ ! -s /Users/eric/.rvm/environments/ruby-1.9.2-p290 ]]
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 12 > grep rvm_env_string= /Users/eric/.rvm/environments/ruby-1.9.2-p290
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 32 > (( 0 == 1 ))
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 33 > [[ ! -f /Users/eric/.rvm/wrappers/ruby-1.9.2-p290/ruby ]]
+++ /scripts/functions/environment : __rvm_ensure_has_environment_files() 51 > return 0
+++ /scripts/selector : __rvm_use() 400 > (( 1 == 1 ))
+++ /scripts/selector : __rvm_use() 402 > rvm_log 'Using /Users/eric/.rvm/gems/ruby-1.9.2-p290'
+++ /scripts/functions/logging : rvm_log() 0 > printf 'Using /Users/eric/.rvm/gems/ruby-1.9.2-p290\n'
++++ /scripts/selector : __rvm_use() 455 > __rvm_remove_rvm_from_path
+++++ /scripts/functions/env : __rvm_remove_rvm_from_path() -140 > printf /Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/eric/.rvm/bin:/Users/eric/.rvm/bin
+++++ /scripts/functions/env : __rvm_remove_rvm_from_path() -140 > awk -v RS=: -v ORS=: '/\/Users\/eric\/.rvm/ {next} {print}'
++++ /scripts/functions/env : __rvm_remove_rvm_from_path() 2 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:
++++ /scripts/functions/env : __rvm_remove_rvm_from_path() 3 > PATH=/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
++++ /scripts/functions/env : __rvm_remove_rvm_from_path() 5 > export PATH
++++ /scripts/functions/env : __rvm_remove_rvm_from_path() 7 > builtin hash -r
++++ /scripts/selector : __rvm_use() 326 > printf /Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
+++ /scripts/selector : __rvm_use() 468 > new_path=/Users/eric/.rvm/gems/ruby-1.9.2-p290/bin:/Users/eric/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/eric/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/eric/.rvm/bin:/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
+++ /scripts/selector : __rvm_use() 472 > [[ -n ruby-1.9.2-p290 ]]
+++ /scripts/selector : __rvm_use() 474 > export rvm_ruby_string
+++ /scripts/selector : __rvm_use() 477 > [[ -n '' ]]
+++ /scripts/selector : __rvm_use() 482 > [[ -n /Users/eric/.rvm/gems/ruby-1.9.2-p290/bin:/Users/eric/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/eric/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/eric/.rvm/bin:/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin ]]
+++ /scripts/selector : __rvm_use() 484 > export PATH=/Users/eric/.rvm/gems/ruby-1.9.2-p290/bin:/Users/eric/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/eric/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/eric/.rvm/bin:/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
+++ /scripts/selector : __rvm_use() 484 > PATH=/Users/eric/.rvm/gems/ruby-1.9.2-p290/bin:/Users/eric/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/eric/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/eric/.rvm/bin:/Applications/Emulators/vice-macosx-sdl-i386+ppc-10.4-gcc40-2.3/tools:/Users/eric/Sources/Mercurial/go/bin:/usr/local/narwhal/bin:/Users/eric/Programs:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
+++ /scripts/selector : __rvm_use() 485 > unset new_path
+++ /scripts/selector : __rvm_use() 486 > builtin hash -r
+++ /scripts/selector : __rvm_use() 489 > [[ ruby-1.9.2-p290 != \s\y\s\t\e\m ]]
+++ /scripts/selector : __rvm_use() 491 > (( 0 == 1 ))
++++ /scripts/selector : __rvm_use() 483 > __rvm_env_string
++++ /scripts/functions/environment : __rvm_env_string() 1 > local _path _string
++++ /scripts/functions/environment : __rvm_env_string() 3 > _path=/Users/eric/.rvm/gems/ruby-1.9.2-p290
++++ /scripts/functions/environment : __rvm_env_string() 5 > _string=ruby-1.9.2-p290
++++ /scripts/functions/environment : __rvm_env_string() 6 > _string=ruby-1.9.2-p290
++++ /scripts/functions/environment : __rvm_env_string() 8 > printf ruby-1.9.2-p290
+++ /scripts/selector : __rvm_use() 496 > local environment_id=ruby-1.9.2-p290
+++ /scripts/selector : __rvm_use() 498 > (( 0 == 1 ))
+++ /scripts/selector : __rvm_use() 507 > rvm_default_flag=0
+++ /scripts/selector : __rvm_use() 509 > [[ -n '' ]]
+++ /scripts/selector : __rvm_use() 515 > [[ -n '' ]]
+++ /scripts/selector : __rvm_use() 523 > [[ maglev == \r\u\b\y ]]
+++ /scripts/selector : __rvm_use() 547 > rvm_hook=after_use
+++ /scripts/selector : __rvm_use() 548 > source /Users/eric/.rvm/scripts/hook
++++ /scripts/hook : source() -10 > declare rvm_verbose_flag rvm_debug_flag hooks
++++ /scripts/hook : source() -8 > true 0 0 after_use
++++ /scripts/hook : source() -6 > [[ -n after_use ]]
++++ /scripts/hook : source() -4 > [[ /Users/eric/.rvm/hooks/after_use == \/\U\s\e\r\s\/\e\r\i\c\/\.\r\v\m\/\h\o\o\k\s\/\a\f\t\e\r\_\u\s\e ]]
++++ /scripts/hook : source() -2 > hooks=("$rvm_hooks_path/$rvm_hook")
++++ /scripts/hook : source() 16 > for hook in '"${hooks[@]}"'
++++ /scripts/hook : source() 5 > [[ -s /Users/eric/.rvm/hooks/after_use ]]
++++ /scripts/hook : source() 7 > (( rvm_verbose_flag > 0 ))
++++ /scripts/hook : source() 7 > (( rvm_debug_flag > 0 ))
++++ /scripts/hook : source() 12 > source /Users/eric/.rvm/hooks/after_use
+++++ /hooks/after_use : source() -8 > after_use_hooks=($(
find -L "${rvm_path:-"$HOME/.rvm"}/hooks" -iname 'after_use_*' -type f
))
++++++ /hooks/after_use : source() -20 > find -L /Users/eric/.rvm/hooks -iname 'after_use_*' -type f
+++++ /hooks/after_use : source() 7 > for after_use_hook in '"${after_use_hooks[@]}"'
+++++ /hooks/after_use : source() -4 > [[ -x /Users/eric/.rvm/hooks/after_use_jruby ]]
++++ /scripts/hook : source() 20 > unset rvm_hook hooks
+++ /scripts/selector : __rvm_use() 549 > return 0
+++ /scripts/cli : rvm() 961 > current_result=0
+++ /scripts/cli : rvm() 962 > (( result > 0 ))
+++ /scripts/cli : rvm() 962 > result=0
+++ /scripts/cli : rvm() 964 > [[ 0 -eq 1 ]]
+++ /scripts/cli : rvm() 975 > (( 1 == 1 ))
+++ /scripts/cli : rvm() 977 > rvm_trace_flag=0
+++ /scripts/cli : rvm() 978 > set +o verbose
+++ /scripts/cli : rvm() 979 > set +o xtrace
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 106 > rvm_ruby_string='Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290'
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 107 > rvm_ruby_strings='Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290'
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 120 > unset escape_flag
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 122 > return 0
+ /scripts/cli : __rvm_parse_args() 320 > [[ error == \u\s\e ]]
+ /scripts/cli : __rvm_parse_args() 615 > [[ -z use ]]
+ /scripts/cli : __rvm_parse_args() 617 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 617 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() -71 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 621 > [[ 0 -gt 0 ]]
+ /scripts/cli : __rvm_parse_args() 623 > [[ -n '' ]]
+ /scripts/cli : rvm() 663 > result=0
+ /scripts/cli : rvm() 665 > rvm_action=use
+ /scripts/cli : rvm() 667 > [[ 0 -gt 0 ]]
+ /scripts/cli : rvm() 775 > case "$rvm_action" in
+ /scripts/cli : rvm() 670 > __rvm_use
+ /scripts/selector : __rvm_use() 1 > local new_path binary full_binary_path rvm_ruby_gem_home
+ /scripts/selector : __rvm_use() 4 > __rvm_select
+ /scripts/selector : __rvm_select() 1 > true
+ /scripts/selector : __rvm_select() 2 > local _original_env_string=
+ /scripts/selector : __rvm_select() 5 > export GEM_HOME GEM_PATH MY_RUBY_HOME RUBY_VERSION
+ /scripts/selector : __rvm_select() 7 > [[ -z Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290 ]]
+ /scripts/selector : __rvm_select() 31 > __rvm_ruby_string
+ /scripts/selector : __rvm_ruby_string() 9 > local ruby_string gemset_name
+ /scripts/selector : __rvm_ruby_string() 11 > __rvm_default_flags
+ /scripts/functions/env : __rvm_default_flags() 1 > true 0 0 0
+ /scripts/selector : __rvm_ruby_string() 571 > rvm_expanding_aliases=
+ /scripts/selector : __rvm_ruby_string() 574 > true '' '' '' '' '' '' '' @ 'Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290' 0 0
+ /scripts/selector : __rvm_ruby_string() 579 > grep @
+ /scripts/selector : __rvm_ruby_string() 579 > echo 'Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290'
+ /scripts/selector : __rvm_ruby_string() 586 > (( rvm_expanding_aliases == 0 ))
+ /scripts/selector : __rvm_ruby_string() 587 > [[ -n Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290 ]]
+ /scripts/selector : __rvm_ruby_string() 587 > [[ Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290 != \s\y\s\t\e\m ]]
++ /scripts/selector : __rvm_ruby_string() -7 > /Users/eric/.rvm/scripts/alias show 'Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290'
+ /scripts/selector : __rvm_ruby_string() 589 > expanded_alias_name=
+ /scripts/selector : __rvm_ruby_string() 590 > [[ -n '' ]]
+ /scripts/selector : __rvm_ruby_string() 593 > [[ Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290 == default ]]
+ /scripts/selector : __rvm_ruby_string() 600 > grep @
+ /scripts/selector : __rvm_ruby_string() 600 > echo 'Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290'
+ /scripts/selector : __rvm_ruby_string() 606 > ruby_string='Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
ruby-1.9.2-p290'
+ /scripts/selector : __rvm_ruby_string() 607 > gemset_name=
+ /scripts/selector : __rvm_ruby_string() 608 > repo_url=
+ /scripts/selector : __rvm_ruby_string() 609 > branch_name=
+ /scripts/selector : __rvm_ruby_string() 610 > ruby_name=
+ /scripts/selector : __rvm_ruby_string() 612 > __rvm_unset_ruby_variables
+ /scripts/functions/env : __rvm_unset_ruby_variables() 2 > unset rvm_env_string rvm_ruby_string rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path 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_selected_flag rvm_ruby_tag rvm_ruby_version rvm_ruby_load_path rvm_ruby_require rvm_head_flag rvm_ruby_package_file rvm_ruby_configure rvm_ruby_name rvm_ruby_url rvm_ruby_global_gems_path rvm_ruby_args rvm_ruby_name rvm_llvm_flag rvm_architectures
+ /scripts/selector : __rvm_ruby_string() 603 > rvm_ruby_repo_url=
+ /scripts/selector : __rvm_ruby_string() 604 > rvm_ruby_repo_branch=
+ /scripts/selector : __rvm_ruby_string() 605 > rvm_ruby_name=
+ /scripts/selector : __rvm_ruby_string() 607 > [[ -n '' ]]
+ /scripts/selector : __rvm_ruby_string() 613 > strings=($(echo ${ruby_string//-/ }))
++ /scripts/selector : __rvm_ruby_string() -18 > echo Using /Users/eric/.rvm/gems/ruby 1.9.2 p290 ruby 1.9.2 p290
+ /scripts/selector : __rvm_ruby_string() 615 > (( 7 == 0 ))
+ /scripts/selector : __rvm_ruby_string() 649 > for string in '${strings[@]}'
+ /scripts/selector : __rvm_ruby_string() 651 > case "$string" in
+ /scripts/selector : __rvm_ruby_string() 766 > rvm_ruby_name=Using
+ /scripts/selector : __rvm_ruby_string() 649 > for string in '${strings[@]}'
+ /scripts/selector : __rvm_ruby_string() 651 > case "$string" in
+ /scripts/selector : __rvm_ruby_string() 770 > rvm_error 'Unknown ruby interpreter string component: '\''/Users/eric/.rvm/gems/ruby'\'''
++ /scripts/functions/logging : rvm_error() 24 > tput setaf 1
++ /scripts/functions/logging : rvm_error() 24 > tput sgr0
+ /scripts/functions/logging : rvm_error() 0 > printf 'ERROR: Unknown ruby interpreter string component: '\''/Users/eric/.rvm/gems/ruby'\''\n'
ERROR: Unknown ruby interpreter string component: '/Users/eric/.rvm/gems/ruby'
+ /scripts/selector : __rvm_ruby_string() 813 > return 1
+ /scripts/selector : __rvm_select() 59 > return 1
+ /scripts/selector : __rvm_use() 457 > return 1
+ /scripts/cli : rvm() 997 > current_result=1
+ /scripts/cli : rvm() 998 > (( result > 0 ))
+ /scripts/cli : rvm() 998 > result=1
+ /scripts/cli : rvm() 1000 > [[ 0 -eq 1 ]]
+ /scripts/cli : rvm() 1011 > (( 1 == 1 ))
+ /scripts/cli : rvm() 1013 > rvm_trace_flag=0
+ /scripts/cli : rvm() 1014 > set +o verbose
+ /scripts/cli : rvm() 1015 > set +o xtrace
$
$ # Example of the same behavior when there is a subdir called ruby-1.9.2-p290, with its own .rvmrc with an 'rvm use default' directive:
$ # (Note that a subdir called 'default' doesn't trigger this)
$
$ mkdir default
$ rvm use default
Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
$ touch default/.rvmrc
$ echo 'rvm use default' > default/.rvmrc
$ rvm use default
Using /Users/eric/.rvm/gems/ruby-1.9.2-p290
$ mkdir ruby-1.9.2-p290
$ touch ruby-1.9