Created
August 14, 2010 19:51
-
-
Save eregon/524662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--trace ruby -v | |
rvm 0.1.45 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] | |
+__rvm_parse_args:434> [[ -z '' ]] | |
+__rvm_parse_args:434> [[ ! -z ruby-1.9.2-rc2 ]] | |
+__rvm_parse_args:434> rvm_action=use | |
+__rvm_parse_args:435> [[ ! -z '' ]] | |
+__rvm_parse_args:435> [[ ! -z '' ]] | |
+__rvm_parse_args:9> [[ 2 -gt 0 ]] | |
+__rvm_parse_args:10> rvm_token=ruby | |
+__rvm_parse_args:10> shift | |
+__rvm_parse_args:11> case ruby (fetch|version|srcdir|reset|debug|reload|update|monitor|notes|implode|seppuku|question|answer|env) | |
+__rvm_parse_args:11> case ruby (package) | |
+__rvm_parse_args:11> case ruby (use) | |
+__rvm_parse_args:11> case ruby (install|uninstall) | |
+__rvm_parse_args:11> case ruby (rm|remove) | |
+__rvm_parse_args:11> case ruby (jruby|ree|macruby|rbx|rubinius|mput|shyouhei|ironruby|default|maglev|all) | |
+__rvm_parse_args:11> case ruby (gemset) | |
+__rvm_parse_args:11> case ruby (gemdir|gempath|gemhome) | |
+__rvm_parse_args:11> case ruby (inspect|list|info) | |
+__rvm_parse_args:11> case ruby (-S) | |
+__rvm_parse_args:11> case ruby (-e) | |
+__rvm_parse_args:11> case ruby (docs|alias|rubygems|exec|cleanup|tools|disk-usage|snapshot|repair|migrate|upgrade) | |
+__rvm_parse_args:11> case ruby (load-rvmrc) | |
+__rvm_parse_args:11> case ruby (do|ruby|rake|gem|rubydo|rakedo|gemdo) | |
+__rvm_parse_args:129> [[ do == use ]] | |
+__rvm_parse_args:130> rvm_action=+__rvm_parse_args:130> sed 's#do##g' | |
+__rvm_parse_args:130> rvm_action=+__rvm_parse_args:130> echo ruby | |
+__rvm_parse_args:130> rvm_action=ruby | |
+__rvm_parse_args:131> [[ rake == ruby ]] | |
+__rvm_parse_args:131> [[ gem == ruby ]] | |
+__rvm_parse_args:131> [[ ruby == ruby ]] | |
+__rvm_parse_args:132> [[ -z -v ]] | |
+__rvm_parse_args:145> [[ -S == -v ]] | |
+__rvm_parse_args:149> [[ -e == -v ]] | |
+__rvm_parse_args:154> rvm_ruby_args=+__rvm_parse_args:154> __rvm_quote_args -v | |
+__rvm_quote_args:1> local 'quoted_string=' | |
+__rvm_quote_args:2> quoted_argument=-v | |
+__rvm_quote_args:3> printf %s -v | |
+__rvm_quote_args:3> grep -vq '^[[:alnum:]]$' | |
+__rvm_quote_args:4> quoted_string=+__rvm_quote_args:4> printf %s -v | |
+__rvm_quote_args:4> quoted_string=+__rvm_quote_args:4> sed 's/'\''/\'\''\\'\''\'\''/g' | |
+__rvm_quote_args:4> quoted_string=' '\''-v'\' | |
+__rvm_quote_args:9> echo ' '\''-v'\' | |
+__rvm_quote_args:9> sed -e 's/^ *//g' -e 's/ *$//g' | |
+__rvm_parse_args:154> rvm_ruby_args=\''-v'\' | |
+__rvm_parse_args:155> rvm_parse_break=1 | |
+__rvm_parse_args:434> [[ -z ruby ]] | |
+__rvm_parse_args:435> [[ ! -z 1 ]] | |
+__rvm_parse_args:435> unset rvm_parse_break | |
+__rvm_parse_args:435> break | |
+__rvm_parse_args:438> [[ 1 -gt 0 ]] | |
+__rvm_parse_args:438> shift | |
+__rvm_parse_args:438> [[ 0 -gt 0 ]] | |
+__rvm_parse_args:440> [[ ! -z '' ]] | |
++ export rvm_trace_flag | |
++ __rvm_cleanup_temp_on_exit | |
++ trap '__rvm_cleanup_temp_for '\''24960'\''' 0 1 2 3 15 | |
+ [[ -z ruby ]] | |
+ action=ruby | |
+ shift | |
+ args=''\''-v'\''' | |
+ rubies=() | |
+ successes=() | |
+ errors=() | |
+ statuses=() | |
++ __rvm_expand_ruby_string '' | |
++ [[ -z '' ]] | |
++ /usr/local/rvm/scripts/list gemsets strings | |
++ export rvm_trace_flag | |
++ __rvm_cleanup_temp_on_exit | |
++ trap '__rvm_cleanup_temp_for '\''24968'\''' 0 1 2 3 15 | |
+ action=gemsets | |
+ [[ 2 -gt 0 ]] | |
+ shift | |
+ [[ known = \g\e\m\s\e\t\s ]] | |
+ [[ known_strings = \g\e\m\s\e\t\s ]] | |
+ [[ gemsets = \g\e\m\s\e\t\s ]] | |
+ list_gemsets strings | |
+ [[ strings = \s\t\r\i\n\g\s ]] | |
+ list_gemset_strings | |
++ list_strings | |
+++ ls /usr/local/rvm/rubies | |
++ echo 187 192 default ruby-1.8.7-head ruby-1.9.2-rc2 | |
+ local 'all_rubies=187 192 default ruby-1.8.7-head ruby-1.9.2-rc2' | |
++ grep -v '^\(@\|doc$\|cache$\|system$\)' | |
++ xargs -- basename | |
++ sort | |
++ ls /usr/local/rvm/gems/ | |
basename: extra operand `ruby-1.8.7-head@global' | |
Try `basename --help' for more information. | |
+ return 0 | |
+ exit 0 | |
+ __rvm_cleanup_temp_for 24968 | |
+ [[ -z 24968 ]] | |
+ [[ -d /usr/local/rvm/tmp/ ]] | |
+ rm -rf '/usr/local/rvm/tmp/24968*' | |
+ exit | |
+ rvm_ruby_strings= | |
+ __rvm_attempt_single_exec | |
+ [[ ruby != \e\x\e\c ]] | |
+ return 1 | |
+ unset current_set_ruby | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ rvm_hook=after_do | |
+ source /usr/local/rvm/scripts/hook | |
++ [[ ! -z after_do ]] | |
++ [[ -s /usr/local/rvm/hooks/after_do ]] | |
++ unset rvm_hook | |
+ exit 0 | |
+ __rvm_cleanup_temp_for 24960 | |
+ [[ -z 24960 ]] | |
+ [[ -d /usr/local/rvm/tmp/ ]] | |
+ rm -rf '/usr/local/rvm/tmp/24960*' | |
+ exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment