Skip to content

Instantly share code, notes, and snippets.

@chadwpry
Created June 15, 2010 15:38
Show Gist options
  • Select an option

  • Save chadwpry/439273 to your computer and use it in GitHub Desktop.

Select an option

Save chadwpry/439273 to your computer and use it in GitHub Desktop.
DaCottage:~ chad$ rvm --trace 1.8.7@pusher
--trace 1.8.7@pusher
rvm 0.1.38 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 1 -gt 0 ]]
+ rvm_token=1.8.7@pusher
+ shift
+ case "$rvm_token" in
+ [[ ! -z 1.8.7@pusher ]]
+ [[ gemset = '' ]]
++ echo 1.8.7@pusher
++ awk /,/
+ [[ ! -z '' ]]
+ /Users/chad/.rvm/scripts/match 1.8.7@pusher '^.+@.+$'
++ echo 1.8.7@pusher
++ awk -F@ '{print $2}'
+ rvm_gemset_name=pusher
++ echo 1.8.7@pusher
++ awk -F@ '{print $1}'
+ rvm_ruby_string=1.8.7
+ rvm_ruby_strings=1.8.7@pusher
+ [[ error = '' ]]
+ [[ -z '' ]]
+ [[ ! -z 1.8.7 ]]
+ rvm_action=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 1.8.7 ]]
+ __rvm_ruby_string
+ [[ -z '' ]]
+ rvm_ruby_string=1.8.7
++ /Users/chad/.rvm/scripts/alias show 1.8.7
+ expanded_alias_name=
+ [[ -n '' ]]
+ [[ 1.8.7 = default ]]
++ echo 1.8.7
++ awk -F@ '{print $2}'
+ set_name=
+ [[ ! -z '' ]]
++ echo 1.8.7
++ awk -F@ '{print $1}'
+ ruby_string=1.8.7
+ __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 1.8.7
++ tr - ' '
+ for string in '$(echo $ruby_string | tr '\''-'\'' '\'' '\'')'
+ [[ head = \1\.\8\.\7 ]]
+ [[ system = \1\.\8\.\7 ]]
+ [[ nightly = \1\.\8\.\7 ]]
+ /Users/chad/.rvm/scripts/match 1.8.7 '^preview'
+ /Users/chad/.rvm/scripts/match 1.8.7 '^rc[0-9]'
+ /Users/chad/.rvm/scripts/match 1.8.7 '^[0-9]\.[0-9]'
+ rvm_ruby_version=1.8.7
+ unset rvm_ruby_revision rvm_ruby_tag
+ [[ -z '' ]]
+ /Users/chad/.rvm/scripts/match 1.8.7 '^1\.[8-9]'
+ rvm_ruby_interpreter=ruby
+ [[ -z 1.8.7 ]]
+ [[ -z 1.8.7 ]]
+ rvm_ruby_string=ruby-1.8.7
+ [[ '' -eq 1 ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
++ __rvm_db ruby_1.8.7_patch_level
++ key=ruby_1.8.7_patch_level
++ variable=
++ [[ -f /Users/chad/.rvm/config/user ]]
+++ /Users/chad/.rvm/scripts/db /Users/chad/.rvm/config/user ruby_1.8.7_patch_level
++ value=
++ [[ -z '' ]]
+++ /Users/chad/.rvm/scripts/db /Users/chad/.rvm/config/db ruby_1.8.7_patch_level
++ value=174
++ [[ ! -z 174 ]]
++ [[ -z '' ]]
++ echo 174
++ unset key value variable
+ patch_level=174
+ [[ ! -z 174 ]]
+ [[ ree = \r\u\b\y ]]
+ [[ rbx = \r\u\b\y ]]
+ rvm_ruby_patch_level=p174
+ [[ ! -z p174 ]]
++ echo p174
++ sed 's#^pp#p#'
+ rvm_ruby_patch_level=p174
+ rvm_ruby_string=ruby-1.8.7-p174
+ [[ ree = \r\u\b\y ]]
+ [[ rbx = \r\u\b\y ]]
++ echo ruby-1.8.7-p174
++ sed s#-pp#-p#
+ rvm_ruby_string=ruby-1.8.7-p174
+ rvm_archive_extension=tar.gz
+ case "$rvm_ruby_interpreter" in
+ [[ -z 1.8.7 ]]
++ __rvm_db ruby_repo_url
++ key=ruby_repo_url
++ variable=
++ [[ -f /Users/chad/.rvm/config/user ]]
+++ /Users/chad/.rvm/scripts/db /Users/chad/.rvm/config/user ruby_repo_url
++ value=
++ [[ -z '' ]]
+++ /Users/chad/.rvm/scripts/db /Users/chad/.rvm/config/db ruby_repo_url
++ value=http://svn.ruby-lang.org/repos/ruby
++ [[ ! -z http://svn.ruby-lang.org/repos/ruby ]]
++ [[ -z '' ]]
++ echo http://svn.ruby-lang.org/repos/ruby
++ unset key value variable
+ rvm_ruby_repo_url=http://svn.ruby-lang.org/repos/ruby
+ __rvm_gemset_select
+ command -v gem
+ [[ 0 -gt 0 ]]
+ rvm_ruby_global_gems_path=/Users/chad/.rvm/gems/ruby-1.8.7-p174@global
+ [[ -z pusher ]]
++ echo ''
++ awk -F@ '{print $NF}'
+ gemset=
+ [[ -z ruby-1.8.7-p174 ]]
+ [[ ! -z ruby-1.8.7-p174 ]]
+ [[ -z '' ]]
+ rvm_ruby_gem_home=/Users/chad/.rvm/gems/ruby-1.8.7-p174@pusher
+ unset gemset
+ [[ ! -z pusher ]]
+ [[ ! -d /Users/chad/.rvm/gems/ruby-1.8.7-p174@pusher ]]
+ [[ '' -ne 1 ]]
+ [[ '' -ne 1 ]]
+ [[ '' -ne 1 ]]
+ /Users/chad/.rvm/scripts/log error 'Gemset '\''pusher'\'' does not exist, rvm gemset create '\''pusher'\'' first.'
error: Gemset 'pusher' does not exist, rvm gemset create 'pusher' first.
+ return 1
+ [[ ! -z ruby ]]
+ [[ system != \r\u\b\y ]]
+ [[ default != \r\u\b\y ]]
+ [[ ! -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=ruby-1.8.7-p174
+ rvm_ruby_home=/Users/chad/.rvm/rubies/ruby-1.8.7-p174
+ rvm_ruby_log_path=/Users/chad/.rvm/log/ruby-1.8.7-p174
+ rvm_ruby_repo_path=/Users/chad/.rvm/repos/ruby-1.8.7-p174
+ rvm_ruby_src_path=/Users/chad/.rvm/src/ruby-1.8.7-p174
+ rvm_ruby_binary=/Users/chad/.rvm/rubies/ruby-1.8.7-p174/bin/ruby
+ rvm_ruby_irbrc=/Users/chad/.rvm/rubies/ruby-1.8.7-p174/.irbrc
+ rvm_ruby_gem_home=/Users/chad/.rvm/gems/ruby-1.8.7-p174
+ rvm_ruby_gem_path=/Users/chad/.rvm/gems/ruby-1.8.7-p174:/Users/chad/.rvm/gems/ruby-1.8.7-p174@global
+ [[ maglev = \r\u\b\y ]]
+ [[ ! -z pusher ]]
+ rvm_ruby_gem_home=/Users/chad/.rvm/gems/ruby-1.8.7-p174@pusher
+ rvm_ruby_gem_path=/Users/chad/.rvm/gems/ruby-1.8.7-p174@pusher:/Users/chad/.rvm/gems/ruby-1.8.7-p174@global
+ rvm_ruby_selected_flag=1
+ mkdir -p /Users/chad/.rvm/log/ruby-1.8.7-p174
+ 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 ruby ]]
+ [[ system = \r\u\b\y ]]
+ GEM_HOME=/Users/chad/.rvm/gems/ruby-1.8.7-p174@pusher
+ GEM_PATH=/Users/chad/.rvm/gems/ruby-1.8.7-p174@pusher:/Users/chad/.rvm/gems/ruby-1.8.7-p174@global
+ BUNDLE_PATH=/Users/chad/.rvm/gems/ruby-1.8.7-p174@pusher
+ MY_RUBY_HOME=/Users/chad/.rvm/rubies/ruby-1.8.7-p174
+ RUBY_VERSION=ruby-1.8.7-p174
+ IRBRC=/Users/chad/.rvm/rubies/ruby-1.8.7-p174/.irbrc
+ export GEM_HOME GEM_PATH BUNDLE_PATH MY_RUBY_HOME RUBY_VERSION IRBRC
+ [[ -z /Users/chad/.rvm/rubies/ruby-1.8.7-p174/.irbrc ]]
+ [[ ! -d /Users/chad/.rvm/rubies/ruby-1.8.7-p174 ]]
+ /Users/chad/.rvm/scripts/log warn 'ruby ruby-1.8.7-p174 is not installed.'
warn: ruby ruby-1.8.7-p174 is not installed.
+ [[ ! -z '' ]]
+ /Users/chad/.rvm/scripts/log info 'To install do: '\''rvm install ruby-1.8.7-p174'\'''
info: To install do: 'rvm install ruby-1.8.7-p174'
+ return 1
+ result=1
+ [[ ! -z '' ]]
+ [[ ! -z 1 ]]
+ set +x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment