Skip to content

Instantly share code, notes, and snippets.

@taq

taq/gist:1371466

Created Nov 16, 2011
Embed
What would you like to do?
$ rvm install 1.9.2 --trace &> /tmp/rvm.log
1.9.2 --trace
rvm 1.9.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]
+ /scripts/cli : __rvm_parse_args() 693 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 694 > export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 694 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 722 > [[ -z install ]]
+ /scripts/cli : __rvm_parse_args() 724 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 724 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 32 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 728 > [[ 0 -gt 0 ]]
+ /scripts/cli : __rvm_parse_args() 730 > [[ -n '' ]]
+ /scripts/cli : rvm() 772 > result=0
+ /scripts/cli : rvm() 774 > rvm_action=install
+ /scripts/cli : rvm() 776 > [[ 0 -gt 0 ]]
+ /scripts/cli : rvm() 781 > case "$rvm_action" in
+ /scripts/cli : rvm() 934 > export rvm_path
+ /scripts/cli : rvm() 935 > [[ -n 1.9.2 ]]
+ /scripts/cli : rvm() 937 > /home/taq/.rvm/scripts/manage install 1.9.2
++++ /scripts/initialize : 92 > [[ -z '' ]]
++++ /scripts/initialize : 97 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
++++ /scripts/initialize : 98 > export PS4
++++ /scripts/initialize : 105 > export rvm_action rvm_alias_expanded rvm_archflags 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 : 41 > case " $rvm_base_except " in
+++ /scripts/base : 46 > source /home/taq/.rvm/scripts/selector
+++ /scripts/base : 50 > declare -a scripts
+++ /scripts/base : 53 > scripts=(logging utility init cleanup env rvmrc install environment gemset db bundler)
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/logging
++++ /scripts/functions/logging : 6 > [[ -t 1 ]]
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/utility
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/init
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/cleanup
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/env
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.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 : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/install
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/environment
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/gemset
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/db
+++ /scripts/base : 54 > for entry in '${scripts[@]}'
+++ /scripts/base : 55 > source /home/taq/.rvm/scripts/functions/bundler
+++ /scripts/base : 57 > unset scripts entry rvm_base_except
+++ /scripts/base : 59 > [[ ! -t 0 ]]
++ /scripts/rvm : 99 > for script in base version selector cd cli override_gem
++ /scripts/rvm : 101 > [[ -f /home/taq/.rvm/scripts/version ]]
++ /scripts/rvm : 103 > source /home/taq/.rvm/scripts/version
++ /scripts/rvm : 99 > for script in base version selector cd cli override_gem
++ /scripts/rvm : 101 > [[ -f /home/taq/.rvm/scripts/selector ]]
++ /scripts/rvm : 103 > source /home/taq/.rvm/scripts/selector
++ /scripts/rvm : 99 > for script in base version selector cd cli override_gem
++ /scripts/rvm : 101 > [[ -f /home/taq/.rvm/scripts/cd ]]
++ /scripts/rvm : 103 > source /home/taq/.rvm/scripts/cd
+++ /scripts/cd : 5 > (( 1 > 0 ))
+++ /scripts/cd : 17 > [[ -n '' ]]
+++ /scripts/cd : 57 > (( 0 == 1 ))
++ /scripts/rvm : 99 > for script in base version selector cd cli override_gem
++ /scripts/rvm : 101 > [[ -f /home/taq/.rvm/scripts/cli ]]
++ /scripts/rvm : 103 > source /home/taq/.rvm/scripts/cli
++ /scripts/rvm : 99 > for script in base version selector cd cli override_gem
++ /scripts/rvm : 101 > [[ -f /home/taq/.rvm/scripts/override_gem ]]
++ /scripts/rvm : 103 > source /home/taq/.rvm/scripts/override_gem
+++ /scripts/override_gem : 3 > [[ 0 -eq 0 ]]
++ /scripts/rvm : 110 > __rvm_setup
++ /scripts/functions/environment : __rvm_setup() 248 > [[ -n '' ]]
++ /scripts/functions/environment : __rvm_setup() 264 > 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
++ /scripts/functions/environment : __rvm_setup() 265 > __rvm_env_loaded=1
+++ /scripts/rvm : 112 > cat /home/taq/.rvm/VERSION
++ /scripts/rvm : 112 > rvm_version=1.9.2
++ /scripts/rvm : 114 > export rvm_version=1.9.2
++ /scripts/rvm : 114 > rvm_version=1.9.2
++ /scripts/rvm : 116 > alias 'rvm-restart=rvm_reload_flag=1 source '\''/home/taq/.rvm/scripts/rvm'\'''
++ /scripts/rvm : 118 > command -v ruby
++ /scripts/rvm : 119 > command -v ruby
++ /scripts/rvm : 119 > grep -v rvm
++ /scripts/rvm : 122 > [[ -s /home/taq/.rvm/environments/default ]]
++ /scripts/rvm : 129 > __rvm_conditionally_add_bin_path
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 46 > printf '/usr/lib/lightdm/lightdm /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /home/taq/bin /home/taq/apps/node/bin /home/taq/.rvm/bin /home/taq/.rvm/bin /home/taq/bin /home/taq/apps/node/bin'
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 46 > grep -vF '/home/taq/.rvm/bin '
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 60 > return 0
++ /scripts/rvm : 131 > (( 0 == 1 ))
++ /scripts/rvm : 136 > rvm_loaded_flag=1
++ /scripts/rvm : 137 > rvm_reload_flag=0
++ /scripts/rvm : 141 > unset rvm_prefix_needs_trailing_slash rvm_rc_files rvm_gems_cache_path rvm_gems_path rvm_project_rvmrc_default rvm_gemset_separator
++ /scripts/rvm : 147 > [[ -t 0 ]]
++ /scripts/rvm : 147 > (( 1 > 0 ))
++ /scripts/rvm : 147 > command -v __rvm_project_rvmrc
++ /scripts/rvm : 151 > rvm_promptless=1
++ /scripts/rvm : 151 > __rvm_project_rvmrc
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 348 > local working_dir rvm_trustworthiness_result
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 351 > working_dir=/home/taq
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 353 > :
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 355 > [[ -z /home/taq ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 355 > [[ /home/taq == \/\h\o\m\e\/\t\a\q ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 357 > [[ -n '' ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 369 > break
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 394 > return 0
++ /scripts/rvm : 154 > __rvm_teardown
++ /scripts/functions/environment : __rvm_teardown() 269 > [[ -d /home/taq/.rvm/tmp/3519 ]]
++ /scripts/functions/environment : __rvm_teardown() 274 > [[ -n '' ]]
++ /scripts/functions/environment : __rvm_teardown() 283 > :
++ /scripts/functions/environment : __rvm_teardown() 290 > (( 0 > 0 ))
++ /scripts/functions/environment : __rvm_teardown() 310 > 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
++ /scripts/functions/environment : __rvm_teardown() 312 > (( 0 == 1 ))
++ /scripts/functions/environment : __rvm_teardown() 317 > trap - 0 1 2 3 15
++ /scripts/functions/environment : __rvm_teardown() 319 > return 0
++ /scripts/manage : 3 > uname -s
+ /scripts/manage : 3 > sys=Linux
+ /scripts/manage : 4 > [[ Linux == AIX ]]
+ /scripts/manage : 8 > name_opt=-iname
+ /scripts/manage : 10 > original_ruby_version=
+ /scripts/manage : 11 > original_ruby_string=1.9.2
+ /scripts/manage : 13 > source /base
/home/taq/.rvm/scripts/manage: linha 13: /base: Arquivo ou diretório não encontrado
+ /scripts/manage : 14 > source /patches
/home/taq/.rvm/scripts/manage: linha 14: /patches: Arquivo ou diretório não encontrado
+ /scripts/manage : 15 > source /functions/build
/home/taq/.rvm/scripts/manage: linha 15: /functions/build: Arquivo ou diretório não encontrado
+ /scripts/manage : 16 > source /functions/pkg
/home/taq/.rvm/scripts/manage: linha 16: /functions/pkg: Arquivo ou diretório não encontrado
+ /scripts/manage : 17 > source /functions/irbrc
/home/taq/.rvm/scripts/manage: linha 17: /functions/irbrc: Arquivo ou diretório não encontrado
+ /scripts/manage : 18 > source /functions/db
/home/taq/.rvm/scripts/manage: linha 18: /functions/db: Arquivo ou diretório não encontrado
+ /scripts/manage : 19 > source /functions/manage/base
/home/taq/.rvm/scripts/manage: linha 19: /functions/manage/base: Arquivo ou diretório não encontrado
+ /scripts/manage : 21 > unset RUBYLIB RUBYOPT
+ /scripts/manage : 23 > args=($*)
+ /scripts/manage : 24 > action=install
+ /scripts/manage : 25 > rubies_string=1.9.2
++ /scripts/manage : 26 > echo
+ /scripts/manage : 26 > args=
+ /scripts/manage : 27 > binaries=()
+ /scripts/manage : 29 > __rvm_manage_rubies
/home/taq/.rvm/scripts/manage: linha 29: __rvm_manage_rubies: comando não encontrado
+ /scripts/manage : 31 > exit 127
+ /scripts/cli : rvm() 995 > current_result=127
+ /scripts/cli : rvm() 996 > (( result > 0 ))
+ /scripts/cli : rvm() 996 > result=127
+ /scripts/cli : rvm() 998 > [[ 0 -eq 1 ]]
+ /scripts/cli : rvm() 1009 > (( 1 == 1 ))
+ /scripts/cli : rvm() 1011 > rvm_trace_flag=0
+ /scripts/cli : rvm() 1012 > set +o verbose
+ /scripts/cli : rvm() 1013 > set +o xtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment