Skip to content

Instantly share code, notes, and snippets.

@paulv
Created January 27, 2012 01:42
Show Gist options
  • Save paulv/1686396 to your computer and use it in GitHub Desktop.
Save paulv/1686396 to your computer and use it in GitHub Desktop.
+ : 1 > . /home/paulv/.rvm/scripts/rvm
++ /scripts/rvm : 8 > export HOME rvm_prefix rvm_user_install_flag rvm_path
++ /scripts/rvm : 9 > HOME=/home/paulv
++ /scripts/rvm : 11 > : rvm_stored_umask:0022
++ /scripts/rvm : 12 > (( 0 == 0 ))
++ /scripts/rvm : 14 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/rvm : 16 > [[ -f /etc/rvmrc ]]
++ /scripts/rvm : 14 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
++ /scripts/rvm : 16 > [[ -f /home/paulv/.rvmrc ]]
++ /scripts/rvm : 18 > grep '^\s*rvm .*$' /home/paulv/.rvmrc
++ /scripts/rvm : 27 > source /home/paulv/.rvmrc
+++ rc : 1 > export rvm_path=/home/paulv/.rvm
+++ rc : 1 > rvm_path=/home/paulv/.rvm
++ /scripts/rvm : 34 > [[ -z /home/paulv/.rvm ]]
++ /scripts/rvm : 62 > rvm_path=/home/paulv/.rvm
++ /scripts/rvm : 66 > [[ -z /home/paulv ]]
++ /scripts/rvm : 72 > [[ -z '' ]]
++ /scripts/rvm : 74 > [[ /home/paulv == \/\h\o\m\e\/\p\a\u\l\v ]]
++ /scripts/rvm : 76 > rvm_user_install_flag=1
++ /scripts/rvm : 82 > export rvm_loaded_flag
++ /scripts/rvm : 83 > [[ -n 4.1.5(1)-release ]]
++ /scripts/rvm : 84 > typeset -f rvm
++ /scripts/rvm : 86 > rvm_loaded_flag=1
++ /scripts/rvm : 91 > (( 1 == 0 ))
++ /scripts/rvm : 91 > (( 0 == 1 ))
++ /scripts/rvm : 141 > source /home/paulv/.rvm/scripts/initialize
+++ /scripts/initialize : 3 > : rvm_trace_flag:0
+++ /scripts/initialize : 4 > (( rvm_trace_flag > 0 ))
+++ /scripts/initialize : 18 > [[ 0 > 0 ]]
+++ /scripts/initialize : 26 > [[ -n 4.1.5(1)-release ]]
+++ /scripts/initialize : 28 > shopt -s extglob
+++ /scripts/initialize : 38 > typeset -f __rvm_cleanse_variables
+++ /scripts/initialize : 40 > __rvm_cleanse_variables
+++ /scripts/functions/env : __rvm_cleanse_variables() 32 > __rvm_unset_ruby_variables
+++ /scripts/functions/env : __rvm_unset_ruby_variables() 21 > unset rvm_env_string rvm_ruby_string rvm_ruby_strings 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_ruby_load_path rvm_ruby_require rvm_head_flag rvm_ruby_package_file rvm_ruby_configure rvm_ruby_name rvm_ruby_url rvm_ruby_global_gems_path rvm_ruby_args rvm_ruby_name rvm_llvm_flag
+++ /scripts/functions/env : __rvm_unset_ruby_variables() 22 > __rvm_load_rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 5 > typeset _file
+++ /scripts/functions/init : __rvm_load_rvmrc() 2 > (( 0 == 1 ))
+++ /scripts/functions/init : __rvm_load_rvmrc() 11 > : rvm_stored_umask:0022
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /etc/rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /home/paulv/.rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 16 > command grep '^\s*rvm .*$' /home/paulv/.rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 25 > source /home/paulv/.rvmrc
++++ rc : source() 1 > export rvm_path=/home/paulv/.rvm
++++ rc : source() 1 > rvm_path=/home/paulv/.rvm
+++ /scripts/functions/init : __rvm_load_rvmrc() 30 > return 0
+++ /scripts/functions/env : __rvm_cleanse_variables() 30 > [[ 0 -eq 1 ]]
+++ /scripts/functions/env : __rvm_cleanse_variables() 37 > unset rvm_gemset_name
+++ /scripts/functions/env : __rvm_cleanse_variables() 40 > unset rvm_env_string rvm_ruby_string rvm_action rvm_irbrc_file rvm_command rvm_error_message rvm_force_flag rvm_all_flag rvm_reconfigure_flag rvm_make_flags rvm_bin_flag rvm_import_flag rvm_export_flag rvm_self_flag rvm_gem_flag rvm_rubygems_flag rvm_debug_flag rvm_delete_flag rvm_summary_flag rvm_test_flag _rvm_spec_flag rvm_json_flag rvm_yaml_flag rvm_shebang_flag rvm_env_flag rvm_tail_flag rvm_use_flag rvm_dir_flag rvm_list_flag rvm_empty_flag rvm_file_name rvm_benchmark_flag rvm_clear_flag rvm_name_flag rvm_verbose_flag rvm_user_flag rvm_system_flag rvm_configure_flags rvm_uninstall_flag rvm_install_flag rvm_llvm_flag rvm_ruby_bits rvm_sticky_flag rvm_rvmrc_flag rvm_gems_flag rvm_only_path_flag rvm_docs_flag rvm_ruby_aliases rvm_patch_names rvm_clang_flag rvm_install_args rvm_dump_environment_flag rvm_ruby_alias rvm_static_flag rvm_archive_extension rvm_hook rvm_ruby_name
+++ /scripts/functions/env : __rvm_cleanse_variables() 42 > __rvm_load_rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 5 > typeset _file
+++ /scripts/functions/init : __rvm_load_rvmrc() 2 > (( 0 == 1 ))
+++ /scripts/functions/init : __rvm_load_rvmrc() 11 > : rvm_stored_umask:0022
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /etc/rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for _file in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /home/paulv/.rvmrc ]]
+++ /scripts/functions/init : __rvm_load_rvmrc() 16 > command grep '^\s*rvm .*$' /home/paulv/.rvmrc
+++ /scripts/functions/init : __rvm_load_rvmrc() 25 > source /home/paulv/.rvmrc
++++ rc : source() 1 > export rvm_path=/home/paulv/.rvm
++++ rc : source() 1 > rvm_path=/home/paulv/.rvm
+++ /scripts/functions/init : __rvm_load_rvmrc() 30 > return 0
+++ /scripts/initialize : 43 > export __rvm_env_loaded
+++ /scripts/initialize : 45 > : __rvm_env_loaded:0:
+++ /scripts/initialize : 47 > : __rvm_env_loaded:1:
+++ /scripts/initialize : 50 > [[ -z '' ]]
+++ /scripts/initialize : 54 > (( 0 == 0 ))
+++ /scripts/initialize : 56 > : rvm_stored_umask:0022
+++ /scripts/initialize : 57 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/initialize : 59 > [[ -f /etc/rvmrc ]]
+++ /scripts/initialize : 57 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+++ /scripts/initialize : 59 > [[ -f /home/paulv/.rvmrc ]]
+++ /scripts/initialize : 61 > grep '^\s*rvm .*$' /home/paulv/.rvmrc
+++ /scripts/initialize : 70 > source /home/paulv/.rvmrc
++++ rc : 1 > export rvm_path=/home/paulv/.rvm
++++ rc : 1 > rvm_path=/home/paulv/.rvm
+++ /scripts/initialize : 76 > export rvm_path
+++ /scripts/initialize : 77 > [[ -z /home/paulv/.rvm ]]
+++ /scripts/initialize : 89 > true /home/paulv/.rvm/scripts
+++ /scripts/initialize : 96 > [[ -z 1 ]]
+++ /scripts/initialize : 111 > : rvm_bin_path:/home/paulv/.rvm/bin rvm_man_path:/home/paulv/.rvm/man rvm_archives_path:/home/paulv/.rvm/archives rvm_docs_path:/home/paulv/.rvm/docs rvm_environments_path:/home/paulv/.rvm/environments rvm_examples_path:/home/paulv/.rvm/examples rvm_gems_path:/home/paulv/.rvm/gems rvm_gemsets_path:/home/paulv/.rvm/gemsets rvm_help_path:/home/paulv/.rvm/help rvm_hooks_path:/home/paulv/.rvm/hooks rvm_lib_path:/home/paulv/.rvm/lib rvm_log_path:/home/paulv/.rvm/log rvm_patches_path:/home/paulv/.rvm/patches rvm_repos_path:/home/paulv/.rvm/repos rvm_rubies_path:/home/paulv/.rvm/rubies rvm_rubygems_path:/home/paulv/.rvm/rubygems rvm_src_path:/home/paulv/.rvm/src rvm_tmp_path:/home/paulv/.rvm/tmp rvm_user_path:/home/paulv/.rvm/user rvm_usr_path:/home/paulv/.rvm/usr rvm_wrappers_path:/home/paulv/.rvm/wrappers rvm_verbose_flag:0 rvm_debug_flag:0 rvm_gems_cache_path:/home/paulv/.rvm/gems/cache
+++ /scripts/initialize : 136 > export rvm_action rvm_alias_expanded 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/rvm : 142 > __rvm_setup
++ /scripts/functions/environment : __rvm_setup() 3 > (( __rvm_env_loaded != 1 ))
++ /scripts/functions/environment : __rvm_setup() 8 > [[ -n '' ]]
++ /scripts/functions/environment : __rvm_setup() 275 > export 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_clang_flag rvm_verbose_flag rvm_debug_flag rvm_trace_flag rvm_pretty_print_flag rvm_create_flag
++ /scripts/functions/environment : __rvm_setup() 276 > export 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_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
++ /scripts/functions/environment : __rvm_setup() 277 > export 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_version rvm_ruby_require rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args detected_rvm_ruby_name
++ /scripts/functions/environment : __rvm_setup() 278 > export __rvm_env_loaded rvm_prior_cc 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_options
++ /scripts/rvm : 145 > [[ -t 0 ]]
++ /scripts/rvm : 145 > [[ 1 -gt 0 ]]
++ /scripts/rvm : 146 > [[ ! =~ __rvm_project_rvmrc ]]
++ /scripts/rvm : 147 > typeset -f __rvm_project_rvmrc
++ /scripts/rvm : 151 > rvm_promptless=1
++ /scripts/rvm : 151 > __rvm_project_rvmrc
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 340 > export __rvm_project_rvmrc_lock
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 341 > : __rvm_project_rvmrc_lock:0
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 342 > : __rvm_project_rvmrc_lock:1
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 4 > (( __rvm_project_rvmrc_lock > 1 ))
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 347 > typeset working_dir rvm_trustworthiness_result
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 350 > working_dir=/home/paulv
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 352 > :
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 15 > [[ -z /home/paulv ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 15 > [[ /home/paulv == \/\h\o\m\e\/\p\a\u\l\v ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 17 > [[ -n '' ]]
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 368 > break
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 396 > unset __rvm_project_rvmrc_lock
++ /scripts/functions/rvmrc : __rvm_project_rvmrc() 397 > return 0
++ /scripts/rvm : 154 > __rvm_teardown
++ /scripts/functions/environment : __rvm_teardown() 1 > [[ -d /home/paulv/.rvm/tmp/13944 ]]
++ /scripts/functions/environment : __rvm_teardown() 288 > export __rvm_env_loaded
++ /scripts/functions/environment : __rvm_teardown() 290 > : __rvm_env_loaded:1:
++ /scripts/functions/environment : __rvm_teardown() 291 > : __rvm_env_loaded:1:
++ /scripts/functions/environment : __rvm_teardown() 293 > : __rvm_env_loaded:0:
++ /scripts/functions/environment : __rvm_teardown() 13 > [[ -z /home/paulv/.rvm/tmp ]]
++ /scripts/functions/environment : __rvm_teardown() 13 > (( __rvm_env_loaded > 0 ))
++ /scripts/functions/environment : __rvm_teardown() 18 > [[ -n '' ]]
++ /scripts/functions/environment : __rvm_teardown() 309 > :
++ /scripts/functions/environment : __rvm_teardown() 34 > (( 0 > 0 ))
++ /scripts/functions/environment : __rvm_teardown() 44 > [[ -n 0022 ]]
++ /scripts/functions/environment : __rvm_teardown() 328 > umask 0022
++ /scripts/functions/environment : __rvm_teardown() 340 > 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_clang_flag rvm_verbose_flag rvm_debug_flag rvm_trace_flag rvm_pretty_print_flag rvm_create_flag
++ /scripts/functions/environment : __rvm_teardown() 341 > 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_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
++ /scripts/functions/environment : __rvm_teardown() 342 > 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_version rvm_ruby_require rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args detected_rvm_ruby_name
++ /scripts/functions/environment : __rvm_teardown() 343 > unset __rvm_env_loaded rvm_prior_cc 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_options
++ /scripts/functions/environment : __rvm_teardown() 63 > (( 0 == 1 ))
++ /scripts/functions/environment : __rvm_teardown() 350 > trap - 0 1 2 3 15
++ /scripts/functions/environment : __rvm_teardown() 352 > return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment