wayneeseguin/rvm-site — Issue #88: After Install Gem install dir uses system install dir (on OSX 10.6)
Author: bodaro
Created: 2012-01-08 04:32:53+00:00
State: open

Ive installed rvm a couple of times (at least, always using sudo). This time, after install, the gem's install directory is the system dir not the one under /usr/local/rvm/, yet which gem shows the version under /usr/local/rvm/...

rvm gemdir shows (also see below for the gem env output):
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8

which gem shows that Im running the version in /usr/local/rvm/rubies/ruby-1.9.2-p290/bin and which rvm is /usr/local/rvm/bin/rvm.

How can running gem from the rvm dir STILL be using the system install dir?

Diagnostics:
=============
XCode is 4.0.2 OS is MaxOSX 10.6
Running type rvm | head -1 displays "rvm is a function".

==========
gem list -dl
shows a ton of gems all in /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8

===========
When I run rvm requirements, I see this error:
rvm requirements

Notes for Mac OS X 10.6.8/usr/local/rvm/scripts/functions/utility: line 325: [[: 4.0.2: syntax error: invalid arithmetic operator (error token is ".0.2")
, Xcode 4.0.2.
/usr/local/rvm/scripts/functions/utility: line 325: [[: 4.0.2: syntax error: invalid arithmetic operator (error token is ".0.2")

===========
rvm info

ruby-1.9.2-p290:

system:
uname: "Darwin estero.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
cat: /Users/mike/.rvm/installed.at: No such file or directory

rvm:
version: "rvm 1.10.1 by Wayne E. Seguin , Michal Papis [https://rvm.beginrescueend.com/]"
updated: "can not read installation time
"

ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2010-01-10"
platform: "universal-darwin10.0"
patchlevel: "2010-01-10 patchlevel 249"
full_version: "ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0]"

homes:
gem: "/usr/local/rvm/gems/ruby-1.9.2-p290"
ruby: "/usr/local/rvm/rubies/ruby-1.9.2-p290"

binaries:
ruby: "/opt/local/bin/ruby"
irb: "/opt/local/bin/irb"
gem: "/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/gem"
rake: "/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/rake"

environment:
PATH: "/opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/bin"
GEM_HOME: "/usr/local/rvm/gems/ruby-1.9.2-p290"
GEM_PATH: "/usr/local/rvm/gems/ruby-1.9.2-p290:/usr/local/rvm/gems/ruby-1.9.2-p290@global"
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.9.2-p290"
IRBRC: "/usr/local/rvm/rubies/ruby-1.9.2-p290/.irbrc"
RUBYOPT: ""
gemset: ""

================
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.10
- RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-darwin10.8.0]
- INSTALLATION DIRECTORY: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby
- EXECUTABLE DIRECTORY: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-10
- GEM PATHS:
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-ri --no-rdoc"
- "gempath" => ["/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8"]
- "gemhome" => "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8"
- REMOTE SOURCES:
- http://rubygems.org/

==================
set -x ; rvm --trace gemdir ; set +x
+ : 6 > rvm --trace gemdir
+ /scripts/cli : rvm() 1 > typeset result current_result
+ /scripts/cli : rvm() 3 > [[ -n 3.2.48(1)-release ]]
+ /scripts/cli : rvm() 5 > trap __rvm_teardown_final 0 1 2 3 15
+ /scripts/cli : rvm() 8 > next_token=--trace
+ /scripts/cli : rvm() 9 > [[ 2 -eq 0 ]]
+ /scripts/cli : rvm() 9 > shift
+ /scripts/cli : rvm() 11 > __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 /usr/local/rvm/scripts
+ /scripts/functions/init : __rvm_initialize() 5 > source /usr/local/rvm/scripts/base
++ /scripts/base : source() -30 > : rvm_trace_flag:0
++ /scripts/base : source() -29 > (( rvm_trace_flag > 0 ))
++ /scripts/base : source() -15 > [[ 0 > 0 ]]
++ /scripts/base : source() -9 > export __array_start rvm_path
++ /scripts/base : source() -4 > [[ -n '' ]]
++ /scripts/base : source() 0 > __array_start=0
++ /scripts/base : source() 3 > (( 0 == 0 ))
++ /scripts/base : source() 5 > : rvm_stored_umask:0022
++ /scripts/base : source() 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/base : source() 8 > [[ -f /etc/rvmrc ]]
++ /scripts/base : source() 10 > grep '^\s*rvm .*$' /etc/rvmrc
++ /scripts/base : source() 19 > source /etc/rvmrc
+++ /etc/rvmrc : source() -34 > umask g+w
++ /scripts/base : source() 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/base : source() 8 > [[ -f /Users/mike/.rvmrc ]]
++ /scripts/base : source() 10 > grep '^\s*rvm .*$' /Users/mike/.rvmrc
++ /scripts/base : source() 19 > source /Users/mike/.rvmrc
+++ /Users/mike/.rvmrc : source() -34 > rvm_archflags='-arch x86_64'
++ /scripts/base : source() 25 > export rvm_path
++ /scripts/base : source() 26 > [[ -z /usr/local/rvm ]]
++ /scripts/base : source() 38 > true /usr/local/rvm/scripts
++ /scripts/base : source() 41 > source /usr/local/rvm/scripts/initialize
+++ /scripts/initialize : source() -32 > : rvm_trace_flag:0
+++ /scripts/initialize : source() -31 > (( rvm_trace_flag > 0 ))
+++ /scripts/initialize : source() -17 > [[ 0 > 0 ]]
+++ /scripts/initialize : source() -9 > [[ -n 3.2.48(1)-release ]]
+++ /scripts/initialize : source() -7 > shopt -s extglob
+++ /scripts/initialize : source() 3 > typeset -f __rvm_cleanse_variables
+++ /scripts/initialize : source() 5 > __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
+++ /scripts/functions/env : __rvm_unset_ruby_variables() 3 > __rvm_load_rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 1 > typeset _file
+++ /scripts/functions/init : __rvm_load_rvmrc() 2 > (( 0 == 1 ))
+++ /scripts/functions/init : __rvm_load_rvmrc() 7 > : rvm_stored_umask:0022
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /etc/rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s*rvm .*$' /etc/rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /etc/rvmrc
++++ /etc/rvmrc : source() -3 > umask g+w
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /Users/mike/.rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s*rvm .*$' /Users/mike/.rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /Users/mike/.rvmrc
++++ /Users/mike/.rvmrc : source() -3 > rvm_archflags='-arch x86_64'
+++ /scripts/functions/init : __rvm_load_rvmrc() 26 > return 0
+++ /scripts/functions/env : __rvm_cleanse_variables() 30 > [[ 0 -eq 1 ]]
+++ /scripts/functions/env : __rvm_cleanse_variables() 33 > unset rvm_gemset_name
+++ /scripts/functions/env : __rvm_cleanse_variables() 36 > 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
+++ /scripts/functions/env : __rvm_cleanse_variables() 38 > __rvm_load_rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 1 > typeset _file
+++ /scripts/functions/init : __rvm_load_rvmrc() 2 > (( 0 == 1 ))
+++ /scripts/functions/init : __rvm_load_rvmrc() 7 > : rvm_stored_umask:0022
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /etc/rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s*rvm .*$' /etc/rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /etc/rvmrc
++++ /etc/rvmrc : source() -3 > umask g+w
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /Users/mike/.rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s*rvm .*$' /Users/mike/.rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /Users/mike/.rvmrc
++++ /Users/mike/.rvmrc : source() -3 > rvm_archflags='-arch x86_64'
+++ /scripts/functions/init : __rvm_load_rvmrc() 26 > return 0
+++ /scripts/initialize : source() 39 > export __rvm_env_loaded
+++ /scripts/initialize : source() 41 > : __rvm_env_loaded:0:
+++ /scripts/initialize : source() 43 > : __rvm_env_loaded:1:
+++ /scripts/initialize : source() 46 > [[ -z '' ]]
+++ /scripts/initialize : source() 50 > (( 0 == 0 ))
+++ /scripts/initialize : source() 52 > : rvm_stored_umask:0022
+++ /scripts/initialize : source() 57 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/initialize : source() 55 > [[ -f /etc/rvmrc ]]
+++ /scripts/initialize : source() 57 > grep '^\s*rvm .*$' /etc/rvmrc
+++ /scripts/initialize : source() 66 > source /etc/rvmrc
++++ /etc/rvmrc : source() -3 > umask g+w
+++ /scripts/initialize : source() 57 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/initialize : source() 55 > [[ -f /Users/mike/.rvmrc ]]
+++ /scripts/initialize : source() 57 > grep '^\s*rvm .*$' /Users/mike/.rvmrc
+++ /scripts/initialize : source() 66 > source /Users/mike/.rvmrc
++++ /Users/mike/.rvmrc : source() -3 > rvm_archflags='-arch x86_64'
+++ /scripts/initialize : source() 72 > export rvm_path
+++ /scripts/initialize : source() 73 > [[ -z /usr/local/rvm ]]
+++ /scripts/initialize : source() 85 > true /usr/local/rvm/scripts
+++ /scripts/initialize : source() 92 > [[ -z '' ]]
+++ /scripts/initialize : source() 94 > (( UID == 0 ))
+++ /scripts/initialize : source() 95 > [[ -n /usr/local ]]
+++ /scripts/initialize : source() 95 > [[ /usr/local != \/\U\s\e\r\s\/\m\i\k\e ]]
+++ /scripts/initialize : source() 97 > true /usr/local/share/man
+++ /scripts/initialize : source() 98 > [[ -z '' ]]
+++ /scripts/initialize : source() 99 > rvm_rc_files=("/etc/profile" "/etc/zshenv")
+++ /scripts/initialize : source() 101 > rvm_user_install_flag=0
+++ /scripts/initialize : source() 107 > [[ -z /etc/profile ]]
+++ /scripts/initialize : source() 112 > : rvm_bin_path:/usr/local/rvm/bin rvm_man_path:/usr/local/share/man rvm_archives_path:/usr/local/rvm/archives rvm_docs_path:/usr/local/rvm/docs rvm_environments_path:/usr/local/rvm/environments rvm_examples_path:/usr/local/rvm/examples rvm_gems_path:/usr/local/rvm/gems rvm_gemsets_path:/usr/local/rvm/gemsets rvm_help_path:/usr/local/rvm/help rvm_hooks_path:/usr/local/rvm/hooks rvm_lib_path:/usr/local/rvm/lib rvm_log_path:/usr/local/rvm/log rvm_patches_path:/usr/local/rvm/patches rvm_repos_path:/usr/local/rvm/repos rvm_rubies_path:/usr/local/rvm/rubies rvm_rubygems_path:/usr/local/rvm/rubygems rvm_src_path:/usr/local/rvm/src rvm_tmp_path:/usr/local/rvm/tmp rvm_user_path:/usr/local/rvm/user rvm_usr_path:/usr/local/rvm/usr rvm_wrappers_path:/usr/local/rvm/wrappers rvm_verbose_flag:0 rvm_debug_flag:0 rvm_gems_cache_path:/usr/local/rvm/gems/cache
+++ /scripts/initialize : source() 137 > export rvm_action rvm_alias_expanded 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() 80 > case " $rvm_base_except " in
++ /scripts/base : source() 81 > source /usr/local/rvm/scripts/selector
++ /scripts/base : source() 85 > typeset -a scripts
++ /scripts/base : source() 88 > scripts=(logging utility init cleanup env rvmrc install environment gemset db bundler)
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 90 > source /usr/local/rvm/scripts/functions/logging
+++ /scripts/functions/logging : source() 31 > rvm_pretty_print stdout
+++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
+++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
+++ /scripts/functions/logging : rvm_pretty_print() 7 > [[ -t 1 ]]
++++ /scripts/functions/logging : source() 5 > tput setaf 2
++++ /scripts/functions/logging : source() 5 > tput sgr0
+++ /scripts/functions/logging : source() 21 > eval 'rvm_log() { printf "%b" "$*\n" ; }'
++++ /scripts/functions/logging : source() 6 > tput setaf 5
++++ /scripts/functions/logging : source() 6 > tput sgr0
+++ /scripts/functions/logging : source() 22 > eval 'rvm_debug() { printf "%b" "DEBUG: $*\n" ; }'
++++ /scripts/functions/logging : source() 7 > tput setaf 3
++++ /scripts/functions/logging : source() 7 > tput sgr0
+++ /scripts/functions/logging : source() 23 > eval 'rvm_warn() { printf "%b" "WARN: $*\n" ; }'
+++ /scripts/functions/logging : source() 30 > rvm_pretty_print stderr
+++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
+++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
+++ /scripts/functions/logging : rvm_pretty_print() 8 > [[ -t 2 ]]
++++ /scripts/functions/logging : source() 16 > tput setaf 1
++++ /scripts/functions/logging : source() 16 > tput sgr0
+++ /scripts/functions/logging : source() 32 > eval 'rvm_error() { printf "%b" "ERROR: $*\n" >&2 ; }'
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/utility
+++ /scripts/functions/utility : source() -13 > [[ ! =~ --no-same-owner ]]
+++ /scripts/functions/utility : source() -12 > tar --help
+++ /scripts/functions/utility : source() -12 > grep -- --no-same-owner
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/init
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/cleanup
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/env
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/rvmrc
+++ /scripts/functions/rvmrc : source() -13 > export escape_flag _first _second
+++ /scripts/functions/rvmrc : source() -12 > escape_flag=1
+++ /scripts/functions/rvmrc : source() -11 > _first=0
+++ /scripts/functions/rvmrc : source() -10 > _second=1
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/install
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/environment
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/gemset
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/db
++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/bundler
++ /scripts/base : source() 80 > unset scripts entry rvm_base_except
++ /scripts/base : source() 82 > [[ ! -t 0 ]]
+ /scripts/functions/init : __rvm_initialize() 26 > __rvm_clean_path
++ /scripts/functions/env : __rvm_clean_path() -134 > printf %b /opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/bin
++ /scripts/functions/env : __rvm_clean_path() -134 > awk -v RS=: -v ORS=: '!($0 in a){a[$0];print}'
+ /scripts/functions/env : __rvm_clean_path() 2 > PATH=/opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/bin:
+ /scripts/functions/env : __rvm_clean_path() 3 > PATH=/opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/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() -92 > __rvm_conditionally_add_bin_path
+ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > grep -vF /usr/local/rvm/bin
+ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > printf %b '/opt/local/bin /opt/local/sbin /Users/mike/bin /usr/local/apache2/bin /usr/local/php5/bin /usr/local/mysql/bin /usr/share/ant/bin /Library/Java/Home/bin /usr/local/idea/bin /usr/local/Adobe/Acrobat7.0/bin /usr/local/bin /usr/local/sbin /usr/local/rvm/gems/ruby-1.9.2-p290/bin /usr/local/rvm/gems/ruby-1.9.2-p290@global/bin /usr/local/rvm/rubies/ruby-1.9.2-p290/bin /usr/local/rvm/bin /usr/bin /bin /usr/sbin /sbin /usr/X11/bin /usr/local/git/bin /Developer/Tools /Library/PostgreSQL8/bin /usr/local/tomcat/current/bin /usr/local/maven/current/bin /usr/local/git/bin/git /usr/local/Android/android-sdk-mac_86/tools /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin /Applications/Firefox.app/Contents/MacOS /Library/PostgreSQL/9.0/bin'
+ /scripts/functions/env : __rvm_conditionally_add_bin_path() 15 > return 0
+ /scripts/functions/init : __rvm_initialize() -3 > export PATH
+ /scripts/functions/init : __rvm_initialize() -1 > [[ ! -d /usr/local/rvm/tmp ]]
+ /scripts/functions/init : __rvm_initialize() 4 > return 0
+ /scripts/cli : rvm() 748 > __rvm_setup
+ /scripts/functions/environment : __rvm_setup() 3 > (( __rvm_env_loaded != 1 ))
+ /scripts/functions/environment : __rvm_setup() 8 > [[ -n '' ]]
+ /scripts/functions/environment : __rvm_setup() 24 > export __rvm_env_loaded rvm_ruby_strings rvm_head_flag rvm_prior_cc next_token rvm_error_message rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_man_path rvm_parse_break rvm_rc_files 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_user_install_flag rvm_token rvm_ruby_load_path rvm_path_flag rvm_ruby_require rvm_action rvm_ruby_package_file rvm_ruby_name rvm_static_flag rvm_export_args rvm_ruby_name rvm_ruby_args rvm_default_flag rvm_gems_cache_path rvm_gemset_separator rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_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_expanding_aliases rvm_loaded_flag rvm_llvm_flag rvm_architectures rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_autoconf_flags rvm_patch_names detected_rvm_ruby_name rvm_tar_options
++ /scripts/cli : rvm() -249 > cat /usr/local/rvm/VERSION
+ /scripts/cli : rvm() 548 > disk_version=1.10.1
+ /scripts/cli : rvm() 549 > disk_version=1.10.1
+ /scripts/cli : rvm() 553 > [[ -n 1.10.1 ]]
+ /scripts/cli : rvm() 553 > [[ 1.10.1 != \1\.\1\0\.\1 ]]
+ /scripts/cli : rvm() 559 > __rvm_parse_args gemdir
+ /scripts/cli : __rvm_parse_args() 1 > typeset _string
+ /scripts/cli : __rvm_parse_args() 7 > grep trace
+ /scripts/cli : __rvm_parse_args() 7 > echo gemdir
+ /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 --trace ]]
+ /scripts/cli : __rvm_parse_args() 21 > rvm_token=--trace
+ /scripts/cli : __rvm_parse_args() 23 > (( 1 > 0 ))
+ /scripts/cli : __rvm_parse_args() 25 > next_token=gemdir
+ /scripts/cli : __rvm_parse_args() 26 > shift
+ /scripts/cli : __rvm_parse_args() 49 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 449 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 709 > typeset option
+ /scripts/cli : __rvm_parse_args() 711 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 711 > set -o errtrace
+ /scripts/cli : __rvm_parse_args() 714 > [[ --trace == \-\-\t\r\a\c\e ]]
+ /scripts/cli : __rvm_parse_args() 716 > export rvm_trace_flag=1
+ /scripts/cli : __rvm_parse_args() 716 > rvm_trace_flag=1
+ /scripts/cli : __rvm_parse_args() 717 > set -o xtrace
+ /scripts/cli : __rvm_parse_args() 718 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 719 > export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 719 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 750 > [[ -z '' ]]
+ /scripts/cli : __rvm_parse_args() 750 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 752 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 752 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 19 > [[ -n gemdir ]]
+ /scripts/cli : __rvm_parse_args() 21 > rvm_token=gemdir
+ /scripts/cli : __rvm_parse_args() 23 > (( 0 > 0 ))
+ /scripts/cli : __rvm_parse_args() 28 > next_token=
+ /scripts/cli : __rvm_parse_args() 49 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 53 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 142 > rvm_ruby_args=gemdir
+ /scripts/cli : __rvm_parse_args() 143 > rvm_action=gemset
+ /scripts/cli : __rvm_parse_args() 144 > rvm_gemdir_flag=1
+ /scripts/cli : __rvm_parse_args() 146 > [[ system == '' ]]
+ /scripts/cli : __rvm_parse_args() 152 > [[ user == '' ]]
+ /scripts/cli : __rvm_parse_args() 750 > [[ -z gemset ]]
+ /scripts/cli : __rvm_parse_args() 752 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 752 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 19 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 756 > [[ 0 -gt 0 ]]
+ /scripts/cli : __rvm_parse_args() 758 > [[ -n '' ]]
+ /scripts/cli : rvm() 792 > result=0
+ /scripts/cli : rvm() 794 > rvm_action=gemset
+ /scripts/cli : rvm() 796 > [[ 0 -gt 0 ]]
+ /scripts/cli : rvm() 815 > case "$rvm_action" in
+ /scripts/cli : rvm() 933 > [[ 0 -eq 1 ]]
+ /scripts/cli : rvm() 938 > export rvm_ruby_strings
+ /scripts/cli : rvm() 940 > /usr/local/rvm/scripts/gemsets gemdir
++ /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 > umask
++ /scripts/base : 40 > : rvm_stored_umask:0002
++ /scripts/base : 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/base : 43 > [[ -f /etc/rvmrc ]]
++ /scripts/base : 45 > grep '^\s*rvm .*$' /etc/rvmrc
++ /scripts/base : 54 > source /etc/rvmrc
+++ /etc/rvmrc : 1 > umask g+w
++ /scripts/base : 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/base : 43 > [[ -f /Users/mike/.rvmrc ]]
++ /scripts/base : 45 > grep '^\s*rvm .*$' /Users/mike/.rvmrc
++ /scripts/base : 54 > source /Users/mike/.rvmrc
+++ /Users/mike/.rvmrc : 1 > rvm_archflags='-arch x86_64'
++ /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 > typeset -f __rvm_cleanse_variables
+++ /scripts/initialize : 43 > export __rvm_env_loaded
+++ /scripts/initialize : 45 > : __rvm_env_loaded:1:
+++ /scripts/initialize : 47 > : __rvm_env_loaded:2:
+++ /scripts/initialize : 50 > [[ -z /usr/local/rvm/tmp ]]
+++ /scripts/initialize : 50 > (( __rvm_env_loaded == 1 ))
++ /scripts/base : 80 > case " $rvm_base_except " in
++ /scripts/base : 85 > source /usr/local/rvm/scripts/selector
++ /scripts/base : 89 > typeset -a scripts
++ /scripts/base : 92 > scripts=(logging utility init cleanup env rvmrc install environment gemset db bundler)
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/logging
+++ /scripts/functions/logging : 35 > rvm_pretty_print stdout
+++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
+++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
+++ /scripts/functions/logging : rvm_pretty_print() 23 > [[ -t 1 ]]
++++ /scripts/functions/logging : 37 > tput setaf 2
++++ /scripts/functions/logging : 37 > tput sgr0
+++ /scripts/functions/logging : 37 > eval 'rvm_log() { printf "%b" "$*\n" ; }'
++++ /scripts/functions/logging : 38 > tput setaf 5
++++ /scripts/functions/logging : 38 > tput sgr0
+++ /scripts/functions/logging : 38 > eval 'rvm_debug() { printf "%b" "DEBUG: $*\n" ; }'
++++ /scripts/functions/logging : 39 > tput setaf 3
++++ /scripts/functions/logging : 39 > tput sgr0
+++ /scripts/functions/logging : 39 > eval 'rvm_warn() { printf "%b" "WARN: $*\n" ; }'
+++ /scripts/functions/logging : 46 > rvm_pretty_print stderr
+++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
+++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
+++ /scripts/functions/logging : rvm_pretty_print() 24 > [[ -t 2 ]]
++++ /scripts/functions/logging : 48 > tput setaf 1
++++ /scripts/functions/logging : 48 > tput sgr0
+++ /scripts/functions/logging : 48 > eval 'rvm_error() { printf "%b" "ERROR: $*\n" >&2 ; }'
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/utility
+++ /scripts/functions/utility : 3 > [[ ! =~ --no-same-owner ]]
+++ /scripts/functions/utility : 4 > tar --help
+++ /scripts/functions/utility : 4 > grep -- --no-same-owner
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/init
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/cleanup
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/env
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > 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 : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/install
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/environment
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/gemset
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/db
++ /scripts/base : 93 > for entry in '${scripts[@]}'
++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/bundler
++ /scripts/base : 96 > unset scripts entry rvm_base_except
++ /scripts/base : 98 > [[ ! -t 0 ]]
+ /scripts/gemsets : 4 > source /usr/local/rvm/scripts/functions/build
+ /scripts/gemsets : 6 > rvm_ruby_gem_home=/usr/local/rvm/gems/ruby-1.9.2-p290
+ /scripts/gemsets : 8 > [[ ! -d /usr/local/rvm/gems/ruby-1.9.2-p290 ]]
+ /scripts/gemsets : 1005 > command -v gem
+ /scripts/gemsets : 1011 > args=($*)
+ /scripts/gemsets : 1012 > action=gemdir
+ /scripts/gemsets : 1013 > args[$__array_start]=
+ /scripts/gemsets : 1014 > args=(${args[@]})
++ /scripts/gemsets : 1015 > echo
+ /scripts/gemsets : 1015 > gems_args=
+ /scripts/gemsets : 1017 > export rvm_gemset_name=
+ /scripts/gemsets : 1017 > rvm_gemset_name=
+ /scripts/gemsets : 1018 > rvm_sticky_flag=1
+ /scripts/gemsets : 1020 > [[ -z '' ]]
+ /scripts/gemsets : 1022 > echo /usr/local/rvm/gems/ruby-1.9.2-p290
+ /scripts/gemsets : 1022 > grep rvm
+ /scripts/gemsets : 1024 > rvm_ruby_string=ruby-1.9.2-p290
+ /scripts/gemsets : 1025 > rvm_ruby_string=ruby-1.9.2-p290
+ /scripts/gemsets : 1029 > case "$action" in
+ /scripts/gemsets : 1055 > gemset_info
+ /scripts/gemsets : gemset_info() 834 > (( 0 == 1 ))
+ /scripts/gemsets : gemset_info() 837 > [[ 0 == 1 ]]
+ /scripts/gemsets : gemset_info() 847 > gem env gemdir
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
+ /scripts/gemsets : gemset_info() 849 > return 0
+ /scripts/gemsets : 1083 > exit 0
+ /scripts/cli : rvm() 940 > result=0
+ /scripts/cli : rvm() 942 > rvm_ruby_strings=
+ /scripts/cli : rvm() 945 > [[ 0 -eq 1 ]]
+ /scripts/cli : rvm() 1033 > current_result=0
+ /scripts/cli : rvm() 1034 > (( result > 0 ))
+ /scripts/cli : rvm() 1034 > result=0
+ /scripts/cli : rvm() 1036 > [[ 0 -eq 1 ]]
+ /scripts/cli : rvm() 1048 > __rvm_teardown
+ /scripts/functions/environment : __rvm_teardown() 1 > [[ -d /usr/local/rvm/tmp/92760 ]]
+ /scripts/functions/environment : __rvm_teardown() 6 > export __rvm_env_loaded
+ /scripts/functions/environment : __rvm_teardown() 8 > : __rvm_env_loaded:1:
+ /scripts/functions/environment : __rvm_teardown() 9 > : __rvm_env_loaded:1:
+ /scripts/functions/environment : __rvm_teardown() 11 > : __rvm_env_loaded:0:
+ /scripts/functions/environment : __rvm_teardown() 13 > [[ -z /usr/local/rvm/tmp ]]
+ /scripts/functions/environment : __rvm_teardown() 13 > (( __rvm_env_loaded > 0 ))
+ /scripts/functions/environment : __rvm_teardown() 18 > [[ -n '' ]]
+ /scripts/functions/environment : __rvm_teardown() 27 > :
+ /scripts/functions/environment : __rvm_teardown() 34 > (( 0 > 0 ))
+ /scripts/functions/environment : __rvm_teardown() 44 > [[ -n 0022 ]]
+ /scripts/functions/environment : __rvm_teardown() 46 > umask 0022
+ /scripts/functions/environment : __rvm_teardown() 58 > unset __rvm_env_loaded rvm_ruby_strings rvm_head_flag rvm_prior_cc next_token rvm_error_message rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_man_path rvm_parse_break rvm_rc_files 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_user_install_flag rvm_token rvm_ruby_load_path rvm_path_flag rvm_ruby_require rvm_action rvm_ruby_package_file rvm_ruby_name rvm_static_flag rvm_export_args rvm_ruby_name rvm_ruby_args rvm_default_flag rvm_gems_cache_path rvm_gemset_separator rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_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_expanding_aliases rvm_loaded_flag rvm_llvm_flag rvm_architectures rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_autoconf_flags rvm_patch_names detected_rvm_ruby_name rvm_tar_options
+ /scripts/functions/environment : __rvm_teardown() 60 > (( 0 == 1 ))
+ /scripts/functions/environment : __rvm_teardown() 65 > trap - 0 1 2 3 15
+ /scripts/functions/environment : __rvm_teardown() 67 > return 0
+ /scripts/cli : rvm() 790 > : rvm_trace_flag:1
+ /scripts/cli : rvm() 791 > (( rvm_trace_flag > 0 ))
+ /scripts/cli : rvm() 793 > set +o verbose
+ /scripts/cli : rvm() 794 > set +o xtrace