Created
June 17, 2012 03:06
-
-
Save Tombar/2943271 to your computer and use it in GitHub Desktop.
rvm --trace get head
This file contains hidden or 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
tombar@Erebor ~/D/W/Gruwlss> rvm --trace get head | |
+ [[ -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() 799 > [[ -z '' ]] | |
+ /scripts/cli : __rvm_parse_args() 799 > [[ -n '' ]] | |
+ /scripts/cli : __rvm_parse_args() 801 > [[ 0 -eq 1 ]] | |
+ /scripts/cli : __rvm_parse_args() 801 > [[ -n '' ]] | |
+ /scripts/cli : __rvm_parse_args() 26 > [[ -n get ]] | |
+ /scripts/cli : __rvm_parse_args() 28 > rvm_token=get | |
+ /scripts/cli : __rvm_parse_args() 30 > (( 1 > 0 )) | |
+ /scripts/cli : __rvm_parse_args() 32 > next_token=head | |
+ /scripts/cli : __rvm_parse_args() 33 > shift | |
+ /scripts/cli : __rvm_parse_args() 38 > case "$rvm_token" in | |
+ /scripts/cli : __rvm_parse_args() 42 > case "$rvm_token" in | |
+ /scripts/cli : __rvm_parse_args() 256 > [[ ls == '' ]] | |
+ /scripts/cli : __rvm_parse_args() 258 > rvm_action=get | |
+ /scripts/cli : __rvm_parse_args() 259 > rvm_ruby_args=("$next_token" "$@") | |
+ /scripts/cli : __rvm_parse_args() 260 > rvm_parse_break=1 | |
+ /scripts/cli : __rvm_parse_args() 799 > [[ -z get ]] | |
+ /scripts/cli : __rvm_parse_args() 801 > [[ 1 -eq 1 ]] | |
+ /scripts/cli : __rvm_parse_args() 801 > break | |
+ /scripts/cli : __rvm_parse_args() 805 > [[ 0 -gt 0 ]] | |
+ /scripts/cli : __rvm_parse_args() 807 > [[ -n '' ]] | |
+ /scripts/cli : rvm() 875 > result=0 | |
+ /scripts/cli : rvm() 877 > rvm_action=get | |
+ /scripts/cli : rvm() 879 > [[ 0 -gt 0 ]] | |
+ /scripts/cli : rvm() 880 > case "$rvm_action" in | |
+ /scripts/cli : rvm() 931 > next_token=get | |
+ /scripts/cli : rvm() 932 > (( 2 > 0 )) | |
+ /scripts/cli : rvm() 932 > shift | |
+ /scripts/cli : rvm() 933 > [[ get == \g\e\t ]] | |
+ /scripts/cli : rvm() 933 > shift | |
+ /scripts/cli : rvm() 935 > tmpdir=/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/ | |
+ /scripts/cli : rvm() 936 > cp -f /Users/tombar/.rvm/scripts/get /var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T//16006 | |
+ /scripts/cli : rvm() 937 > /usr/local/bin/fish /var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T//16006 head | |
fish: Illegal command name 'get_usage()' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 5): get_usage() | |
^ | |
fish: Illegal command name '{' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 6): { | |
^ | |
fish: Illegal command name '}' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 8): } | |
^ | |
fish: Illegal command name 'get_via_installer()' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 10): get_via_installer() | |
^ | |
fish: Illegal command name '{' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 11): { | |
^ | |
fish: The '$' character begins a variable name. The character '@', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 12): curl -L get.rvm.io | bash -s -- $@ || return $? | |
^ | |
fish: Expected a command name, got token of type 'Pipe'. Did you mean 'COMMAND; or COMMAND'? See the help section for the 'or' builtin command by typing 'help or'. | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 12): curl -L get.rvm.io | bash -s -- $@ || return $? | |
^ | |
fish: This command can not be used in a pipeline | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 12): curl -L get.rvm.io | bash -s -- $@ || return $? | |
^ | |
fish: 'return' builtin command outside of function definition | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 12): curl -L get.rvm.io | bash -s -- $@ || return $? | |
^ | |
fish: The '$' character begins a variable name. The character '', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 12): curl -L get.rvm.io | bash -s -- $@ || return $? | |
^ | |
fish: 'return' builtin command outside of function definition | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 18): return 0 | |
^ | |
fish: Illegal command name '}' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 19): } | |
^ | |
fish: 'case' builtin not inside of switch block | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 21): case "$1" in | |
^ | |
case ‐ conditionally execute a block of commands | |
Synopsis | |
switch VALUE; [case [WILDCARD...]; [COMMANDS...]; ...] end | |
Description | |
The switch statement is used to perform one of several blocks of | |
commands depending on whether a specified value equals one of several | |
wildcarded values. The case statement is used together with the switch | |
statement in order to determine which block should be performed. | |
Each case command is given one or more parameter. The first case | |
command with a parameter that matches the string specified in the | |
switch command will be evaluated. case parameters may contain | |
wildcards. These need to be escaped or quoted in order to avoid regular | |
wildcard expansion using filenames. | |
Note that fish does not fall through on case statements. Though the | |
syntax may look a bit like C switch statements, it behaves more like | |
the case statements of traditional shells. | |
Also note that command substitutions in a case statement will be | |
evaluated even if it’s body is not taken. This may seem | |
counterintuitive at first, but it is unavoidable, since it would be | |
impossible to know if a case command will evaluate to true before all | |
forms of parameter expansion have been performed for the case command. | |
Example | |
If the variable $animal contains the name of an animal, the following | |
code would attempt to classify it: | |
switch $animal | |
case cat | |
echo evil | |
case wolf dog human moose dolphin whale | |
echo mammal | |
case duck goose albatross | |
echo bird | |
case shark trout stingray | |
echo fish | |
case ’*’ | |
echo I have no idea what a $animal is | |
end | |
If the above code was run with $animal set to whale, the output would | |
be mammal. | |
fish: Illegal command name '(stable|master|head|branch|latest|latest-*|[0-9]*.[0-9]*.[0-9]*)' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 22): (stable|master|head|branch|latest|latest-*|[0-9]*.[0-9]*.[0-9]*) | |
^ | |
fish: The '$' character begins a variable name. The character '@', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 23): get_via_installer $@ | |
^ | |
fish: Illegal command name '(help)' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 26): (help) | |
^ | |
fish: Illegal command name '(*)' | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 31): (*) | |
^ | |
fish: The '$' character begins a variable name. The character '', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 (line 36): exit $? | |
^ | |
fish: Error while reading file /private/var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T/16006 | |
+ /scripts/cli : rvm() 941 > rvm_error 'Could not update RVM, get some help at #rvm IRC channel at freenode servers.' | |
+ /scripts/functions/logging : rvm_error() 59 > 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 "${TERM:-dumb}" in | |
+ /scripts/functions/logging : rvm_pretty_print() 25 > case "$1" in | |
+ /scripts/functions/logging : rvm_pretty_print() 27 > [[ -t 2 ]] | |
+ /scripts/functions/logging : rvm_pretty_print() 32 > return 0 | |
+ /scripts/functions/logging : rvm_error() 60 > printf %b 'Could not update RVM, get some help at #rvm IRC channel at freenode servers.\n' | |
Could not update RVM, get some help at #rvm IRC channel at freenode servers. | |
+ /scripts/cli : rvm() 943 > rm -f /var/folders/40/19ww5r3168xbdf8251qrjdwc0000gn/T//16006 | |
+ /scripts/cli : rvm() 1125 > current_result=0 | |
+ /scripts/cli : rvm() 1127 > (( result > 0 )) | |
+ /scripts/cli : rvm() 1127 > result=0 | |
+ /scripts/cli : rvm() 1129 > [[ 0 -gt 0 ]] | |
+ /scripts/cli : rvm() 1130 > case "$rvm_action" in | |
+ /scripts/cli : rvm() 1141 > current_result=0 | |
+ /scripts/cli : rvm() 1143 > (( result > 0 )) | |
+ /scripts/cli : rvm() 1143 > result=0 | |
+ /scripts/cli : rvm() 1145 > [[ 0 -eq 1 ]] | |
+ /scripts/cli : rvm() 1151 > typeset __local_rvm_trace_flag | |
+ /scripts/cli : rvm() 1152 > __local_rvm_trace_flag=1 | |
+ /scripts/cli : rvm() 1154 > __rvm_teardown | |
+ /scripts/functions/environment : __rvm_teardown() 260 > builtin command -v __rvm_cleanup_tmp | |
+ /scripts/functions/environment : __rvm_teardown() 262 > __rvm_cleanup_tmp | |
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 95 > [[ -d /Users/tombar/.rvm/tmp/ ]] | |
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 97 > case "${rvm_tmp_path%\/}" in | |
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 99 > __rvm_rm_rf '/Users/tombar/.rvm/tmp/16006*' | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 8 > typeset result target | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 9 > result=1 | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 10 > target='/Users/tombar/.rvm/tmp/16006*' | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 13 > [[ -n '' ]] | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 17 > [[ -n 3.2.48(1)-release ]] | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 19 > shopt -s extglob | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 25 > case "${target}" in | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 31 > [[ -n /Users/tombar/.rvm/tmp/16006* ]] | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 33 > [[ -d /Users/tombar/.rvm/tmp/16006* ]] | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 37 > [[ -f /Users/tombar/.rvm/tmp/16006* ]] | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 37 > [[ -L /Users/tombar/.rvm/tmp/16006* ]] | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 42 > result=0 | |
+ /scripts/functions/cleanup : __rvm_rm_rf() 48 > return 0 | |
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 103 > return 0 | |
+ /scripts/functions/environment : __rvm_teardown() 265 > export __rvm_env_loaded | |
+ /scripts/functions/environment : __rvm_teardown() 267 > : __rvm_env_loaded:1: | |
+ /scripts/functions/environment : __rvm_teardown() 268 > : __rvm_env_loaded:1: | |
+ /scripts/functions/environment : __rvm_teardown() 270 > : __rvm_env_loaded:0: | |
+ /scripts/functions/environment : __rvm_teardown() 272 > [[ -z /Users/tombar/.rvm/tmp ]] | |
+ /scripts/functions/environment : __rvm_teardown() 272 > (( __rvm_env_loaded > 0 )) | |
+ /scripts/functions/environment : __rvm_teardown() 277 > [[ -n 3.2.48(1)-release ]] | |
+ /scripts/functions/environment : __rvm_teardown() 279 > trap - 0 1 2 3 15 | |
+ /scripts/functions/environment : __rvm_teardown() 282 > [[ -n '' ]] | |
+ /scripts/functions/environment : __rvm_teardown() 292 > [[ -n 0022 ]] | |
+ /scripts/functions/environment : __rvm_teardown() 294 > umask 0022 | |
+ /scripts/functions/environment : __rvm_teardown() 306 > unset rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_autoconf_flags rvm_dump_environment_flag rvm_verbose_flag rvm_debug_flag rvm_trace_flag rvm_pretty_print_flag rvm_create_flag rvm_remove_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag | |
+ /scripts/functions/environment : __rvm_teardown() 307 > unset rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_ruby_load_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_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_externals_path | |
+ /scripts/functions/environment : __rvm_teardown() 308 > unset rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc 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_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_require rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name | |
+ /scripts/functions/environment : __rvm_teardown() 309 > unset __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_architectures rvm_patch_names rvm_tar_command rvm_tar_options rvm_ree_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name | |
+ /scripts/functions/environment : __rvm_teardown() 311 > builtin command -v __rvm_cleanup_download | |
+ /scripts/functions/environment : __rvm_teardown() 316 > return 0 | |
+ /scripts/cli : rvm() 1156 > (( __local_rvm_trace_flag > 0 )) | |
+ /scripts/cli : rvm() 1158 > set +o verbose | |
+ /scripts/cli : rvm() 1159 > set +o xtrace | |
tombar@Erebor ~/D/W/Gruwlss> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment