Skip to content

Instantly share code, notes, and snippets.

@tinco
Created June 10, 2010 16:44
Show Gist options
  • Save tinco/433276 to your computer and use it in GitHub Desktop.
Save tinco/433276 to your computer and use it in GitHub Desktop.
--trace ree
rvm 0.1.38 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z ree ]]
+ rvm_action=use
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 1 -gt 0 ]]
+ rvm_token=ree
+ shift
+ case "$rvm_token" in
+ [[ rubinius = \r\e\e ]]
+ rvm_ruby_interpreter=ree
+ rvm_ruby_string=ree
+ rvm_ruby_strings=ree
+ rvm_action=use
+ /home/tinco/.rvm/scripts/match '' '^[0-9]\.[0-9]'
+ [[ -z use ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
+ [[ 0 -gt 0 ]]
+ [[ ! -z '' ]]
+ export BUNDLE_PATH GEM_HOME GEM_PATH rvm_ruby_string rvm_action rvm_bin_flag rvm_debug_flag rvm_delete_flag rvm_docs_type rvm_file_name rvm_gemset_name rvm_head_flag rvm_install_on_use_flag rvm_interactive rvm_llvm_flag rvm_make_flags rvm_proxy rvm_remove_flag rvm_ruby_args rvm_ruby_configure_flags rvm_ruby_file rvm_ruby_gem_home rvm_ruby_interpreter rvm_ruby_name rvm_ruby_patch rvm_ruby_patch_name rvm_ruby_version rvm_system_flag rvm_trace_flag rvm_use_flag rvm_user_flag rvm_verbose_flag
+ export rvm_path rvm_rubies_path rvm_scripts_path rvm_archives_path rvm_src_path rvm_log_path rvm_bin_path rvm_gems_path rvm_config_path rvm_tmp_path rvm_hooks_path rvm_gems_cache_path rvm_gemset_separator
+ result=0
+ case "$rvm_action" in
+ __rvm_use
+ [[ -z '' ]]
+ __rvm_select
+ [[ -z ree ]]
+ __rvm_ruby_string
+ [[ -z '' ]]
+ rvm_ruby_string=ree
++ /home/tinco/.rvm/scripts/alias show ree
+ expanded_alias_name=
+ [[ -n '' ]]
+ [[ ree = default ]]
++ echo ree
++ awk -F@ '{print $2}'
+ set_name=
+ [[ ! -z '' ]]
++ echo ree
++ awk -F@ '{print $1}'
+ ruby_string=ree
+ __rvm_unset_ruby_variables
+ unset rvm_ruby_interpreter rvm_ruby_version rvm_url rvm_ruby_repo_url rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_make rvm_ruby_make_install rvm_ruby_revision rvm_ruby_tag rvm_release_version rvm_major_version rvm_minor_version rvm_ruby_gem_home rvm_ruby_binary rvm_ruby_home rvm_ruby_log_path rvm_ruby_src_path rvm_ruby_irbrc rvm_ruby_selected_flag rvm_ruby_src_path rvm_ruby_repo_url rvm_major_version rvm_minor_version rvm_ruby_gem_home rvm_head_flag rvm_ruby_configure rvm_ruby_mode rvm_ruby_package_file rvm_ruby_package_name rvm_ruby_gem_path rvm_ruby_name rvm_ruby_alias rvm_ruby_strings rvm_ruby_repo_path
++ echo ree
++ tr - ' '
+ for string in '$(echo $ruby_string | tr '\''-'\'' '\'' '\'')'
+ [[ head = \r\e\e ]]
+ [[ system = \r\e\e ]]
+ [[ nightly = \r\e\e ]]
+ /home/tinco/.rvm/scripts/match ree '^preview'
+ /home/tinco/.rvm/scripts/match ree '^rc[0-9]'
+ /home/tinco/.rvm/scripts/match ree '^[0-9]\.[0-9]'
+ /home/tinco/.rvm/scripts/match ree '^p[0-9]'
+ /home/tinco/.rvm/scripts/match ree '^[0-9][0-9]'
+ /home/tinco/.rvm/scripts/match ree '^r[0-9]'
+ /home/tinco/.rvm/scripts/match ree '^s[0-9]'
+ /home/tinco/.rvm/scripts/match ree '^t[v0-9]'
+ /home/tinco/.rvm/scripts/match ree '^m[0-9]'
+ /home/tinco/.rvm/scripts/match ree '^h[a-z0-9]'
+ /home/tinco/.rvm/scripts/match ree '^u[a-z0-9]'
+ /home/tinco/.rvm/scripts/match ree '^b[0-9][0-9]'
+ /home/tinco/.rvm/scripts/match 'ruby rbx jruby macruby ree rubinius maglev mput shyouhei ironruby ' 'ree '
+ rvm_ruby_interpreter=ree
+ [[ -z ree ]]
+ [[ -z '' ]]
+ [[ -z '' ]]
++ __rvm_db ree_version
++ key=ree_version
++ variable=
++ [[ -f /home/tinco/.rvm/config/user ]]
+++ /home/tinco/.rvm/scripts/db /home/tinco/.rvm/config/user ree_version
++ value=
++ [[ -z '' ]]
+++ /home/tinco/.rvm/scripts/db /home/tinco/.rvm/config/db ree_version
++ value=1.8.7
++ [[ ! -z 1.8.7 ]]
++ [[ -z '' ]]
++ echo 1.8.7
++ unset key value variable
+ rvm_ruby_version=1.8.7
+ [[ -z 1.8.7 ]]
+ rvm_ruby_string=ree-1.8.7
+ [[ '' -eq 1 ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
++ __rvm_db ree_1.8.7_patch_level
++ key=ree_1.8.7_patch_level
++ variable=
++ [[ -f /home/tinco/.rvm/config/user ]]
+++ /home/tinco/.rvm/scripts/db /home/tinco/.rvm/config/user ree_1.8.7_patch_level
++ value=
++ [[ -z '' ]]
+++ /home/tinco/.rvm/scripts/db /home/tinco/.rvm/config/db ree_1.8.7_patch_level
++ value=2010.02
++ [[ ! -z 2010.02 ]]
++ [[ -z '' ]]
++ echo 2010.02
++ unset key value variable
+ patch_level=2010.02
+ [[ ! -z 2010.02 ]]
+ [[ ree = \r\e\e ]]
+ rvm_ruby_patch_level=2010.02
+ [[ ! -z 2010.02 ]]
++ echo 2010.02
++ sed 's#^pp#p#'
+ rvm_ruby_patch_level=2010.02
+ rvm_ruby_string=ree-1.8.7-2010.02
+ [[ ree = \r\e\e ]]
++ echo ree-1.8.7-2010.02
++ sed 's#-p*#-#'
+ rvm_ruby_string=ree-1.8.7-2010.02
+ rvm_archive_extension=tar.gz
+ case "$rvm_ruby_interpreter" in
+ rvm_ruby_interpreter=ree
+ rvm_ruby_version=1.8.7
+ [[ ! -z 2010.02 ]]
++ echo 2010.02
++ sed 's#^p##'
+ rvm_ruby_patch_level=2010.02
+ rvm_ruby_string=ree-1.8.7-2010.02
+ [[ 1.8.7 != \h\e\a\d ]]
+ [[ ! -z '' ]]
+ rvm_ruby_package_file=ruby-enterprise-1.8.7-2010.02
++ __rvm_db ree_1.8.7_url
++ key=ree_1.8.7_url
++ variable=
++ [[ -f /home/tinco/.rvm/config/user ]]
+++ /home/tinco/.rvm/scripts/db /home/tinco/.rvm/config/user ree_1.8.7_url
++ value=
++ [[ -z '' ]]
+++ /home/tinco/.rvm/scripts/db /home/tinco/.rvm/config/db ree_1.8.7_url
++ value=http://rubyforge.org/frs/download.php/71096
++ [[ ! -z http://rubyforge.org/frs/download.php/71096 ]]
++ [[ -z '' ]]
++ echo http://rubyforge.org/frs/download.php/71096
++ unset key value variable
+ rvm_url=http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz
+ /home/tinco/.rvm/scripts/match 1.8.7 '^1\.8'
+ __rvm_gemset_select
+ command -v gem
+ [[ 0 -gt 0 ]]
+ rvm_ruby_global_gems_path=/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z ree-1.8.7-2010.02 ]]
+ [[ ree != \s\y\s\t\e\m ]]
+ rvm_ruby_gem_home=/home/tinco/.rvm/gems/ree-1.8.7-2010.02
+ [[ -z '' ]]
+ unset rvm_gemset_name
+ [[ ! -z '' ]]
+ [[ '' -eq 1 ]]
+ [[ -z /home/tinco/.rvm/gems/ree-1.8.7-2010.02 ]]
+ rvm_ruby_gem_path=/home/tinco/.rvm/gems/ree-1.8.7-2010.02:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global
+ mkdir -p /home/tinco/.rvm/gems/ree-1.8.7-2010.02
+ export rvm_ruby_gem_path rvm_ruby_gem_home
+ [[ ! -z ree ]]
+ [[ system != \r\e\e ]]
+ [[ default != \r\e\e ]]
+ [[ ! -z 1.8.7 ]]
++ echo 1.8.7
++ awk -F. '{ print $1 }'
+ rvm_release_version=1
++ echo 1.8.7
++ awk -F. '{ print $2 }'
+ rvm_major_version=8
++ echo 1.8.7
++ awk -F. '{ print $3 }'
+ rvm_minor_version=7
+ rvm_ruby_package_name=ree-1.8.7-2010.02
+ rvm_ruby_home=/home/tinco/.rvm/rubies/ree-1.8.7-2010.02
+ rvm_ruby_log_path=/home/tinco/.rvm/log/ree-1.8.7-2010.02
+ rvm_ruby_repo_path=/home/tinco/.rvm/repos/ree-1.8.7-2010.02
+ rvm_ruby_src_path=/home/tinco/.rvm/src/ree-1.8.7-2010.02
+ rvm_ruby_binary=/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby
+ rvm_ruby_irbrc=/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/.irbrc
+ rvm_ruby_gem_home=/home/tinco/.rvm/gems/ree-1.8.7-2010.02
+ rvm_ruby_gem_path=/home/tinco/.rvm/gems/ree-1.8.7-2010.02:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global
+ [[ maglev = \r\e\e ]]
+ [[ ! -z '' ]]
+ rvm_ruby_selected_flag=1
+ mkdir -p /home/tinco/.rvm/log/ree-1.8.7-2010.02
+ export rvm_ruby_interpreter rvm_ruby_version rvm_ruby_repo_url rvm_ruby_package_name rvm_url rvm_ruby_patch_level rvm_ruby_configure rvm_ruby_configure_flags rvm_ruby_make rvm_ruby_make_install rvm_ruby_revision rvm_ruby_tag rvm_release_version rvm_major_version rvm_minor_version rvm_gemset_name rvm_gems_path rvm_ruby_gem_home rvm_path rvm_src_path rvm_bin_path rvm_ruby_binary rvm_ruby_home rvm_log_path rvm_ruby_log_path rvm_src_path rvm_ruby_src_path rvm_ruby_irbrc rvm_ruby_selected_flag rvm_ruby_string
+ [[ -z ree ]]
+ [[ system = \r\e\e ]]
+ GEM_HOME=/home/tinco/.rvm/gems/ree-1.8.7-2010.02
+ GEM_PATH=/home/tinco/.rvm/gems/ree-1.8.7-2010.02:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global
+ BUNDLE_PATH=/home/tinco/.rvm/gems/ree-1.8.7-2010.02
+ MY_RUBY_HOME=/home/tinco/.rvm/rubies/ree-1.8.7-2010.02
+ RUBY_VERSION=ree-1.8.7-2010.02
+ IRBRC=/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/.irbrc
+ export GEM_HOME GEM_PATH BUNDLE_PATH MY_RUBY_HOME RUBY_VERSION IRBRC
+ [[ -z /home/tinco/.rvm/rubies/ree-1.8.7-2010.02/.irbrc ]]
+ [[ ! -d /home/tinco/.rvm/rubies/ree-1.8.7-2010.02 ]]
+ __rvm_ensure_has_enviroment_files
++ __rvm_environment_identifier
+++ command -v ruby
++ ruby_string=/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby
++ '[' -n /home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby ']'
++ echo /home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby
++ grep -q -F /home/tinco/.rvm/rubies
++ echo /home/tinco/.rvm/gems/ree-1.8.7-2010.02
++ xargs basename
++ unset ruby_string
+ local environment_identifier=ree-1.8.7-2010.02
+ file_name=/home/tinco/.rvm/environments/ree-1.8.7-2010.02
+ [[ ree-1.8.7-2010.02 == \s\y\s\t\e\m ]]
+ [[ ! -s /home/tinco/.rvm/environments/ree-1.8.7-2010.02 ]]
+ unset file_name
+ [[ -z '' ]]
+ rvm_creating_default_wrappers=1
+ directory_name=/home/tinco/.rvm/wrappers/ree-1.8.7-2010.02
+ [[ ! -L /home/tinco/.rvm/wrappers/ree-1.8.7-2010.02 ]]
+ [[ ! -d /home/tinco/.rvm/wrappers/ree-1.8.7-2010.02 ]]
+ unset rvm_creating_default_wrappers directory_name
+ [[ ! -z '' ]]
++ echo /home/tinco/.rvm/bin:/home/tinco/.rvm/bin:/home/tinco/.rvm/gems/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/sbin:/sbin
++ paste -sd : -
++ awk '$0 !~ /rvm/'
++ tr : '\n'
+ new_path=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/sbin:/sbin
+ new_path=/home/tinco/.rvm/gems/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/sbin:/sbin
+ [[ ! -z ree-1.8.7-2010.02 ]]
+ export rvm_ruby_string
+ [[ ! -z '' ]]
+ [[ ! -z /home/tinco/.rvm/gems/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/sbin:/sbin ]]
+ export PATH=/home/tinco/.rvm/gems/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/sbin:/sbin
+ PATH=/home/tinco/.rvm/gems/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin:/home/tinco/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/sbin:/sbin
+ unset new_path
+ [[ ! -z '' ]]
++ __rvm_environment_identifier
+++ command -v ruby
++ ruby_string=/home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby
++ '[' -n /home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby ']'
++ echo /home/tinco/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby
++ grep -q -F /home/tinco/.rvm/rubies
++ xargs basename
++ echo /home/tinco/.rvm/gems/ree-1.8.7-2010.02
++ unset ruby_string
+ environment_id=ree-1.8.7-2010.02
+ [[ ! -z '' ]]
+ unset rvm_default_flag
+ [[ ! -z '' ]]
+ unset environment_id
+ [[ maglev = \r\e\e ]]
+ rvm_hook=after_use
+ source /home/tinco/.rvm/scripts/hook
++ [[ ! -z after_use ]]
++ [[ -s /home/tinco/.rvm/hooks/after_use ]]
++ unset rvm_hook
+ result=0
+ [[ ! -z '' ]]
+ [[ ! -z 1 ]]
+ set +x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment