Skip to content

Instantly share code, notes, and snippets.

@chris-piekarski
Last active Oct 11, 2015
Embed
What would you like to do?
Ruby RVM Info Dump: ( set -x ; cd dir ) Output
+ cd current
+ builtin cd current
+ [[ -n '' ]]
+ true
+ __rvm_do_with_env_before
+ [[ -n '' ]]
+ [[ -n /usr/local/rvm ]]
+ source /usr/local/rvm/scripts/initialize
++ : rvm_trace_flag:0
++ (( rvm_trace_flag > 0 ))
++ [[ -n 4.2.24(1)-release ]]
++ shopt -s extglob
++ export __rvm_env_loaded
++ : __rvm_env_loaded:0:
++ : __rvm_env_loaded:1:
++ [[ -z '' ]]
++ typeset -f __rvm_cleanse_variables
++ __rvm_cleanse_variables
++ __rvm_unset_ruby_variables
++ 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_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
++ __rvm_load_rvmrc
++ typeset _file
++ typeset -a rvm_rvmrc_files
++ (( 0 == 1 ))
++ [[ -n '' ]]
+++ umask
++ export rvm_stored_umask=0022
++ rvm_stored_umask=0022
++ rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
++ [[ -n /usr/local ]]
++ [[ /var/apps/perch/.rvmrc -ef /usr/local/.rvmrc ]]
++ rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /etc/rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /etc/rvmrc
++ source /etc/rvmrc
+++ umask u=rwx,g=rwx,o=rx
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /var/apps/perch/.rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /var/apps/perch/.rvmrc
++ source /var/apps/perch/.rvmrc
+++ export rvm_environments_path=/var/apps/perch/.rvm/environments
+++ rvm_environments_path=/var/apps/perch/.rvm/environments
+++ export rvm_gems_path=/var/apps/perch/.rvm/gems
+++ rvm_gems_path=/var/apps/perch/.rvm/gems
+++ export rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ export rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ export rvm_user_path=/var/apps/perch/.rvm/user
+++ rvm_user_path=/var/apps/perch/.rvm/user
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /usr/local/.rvmrc ]]
++ return 0
++ [[ 0 -eq 1 ]]
++ unset rvm_gemset_name
++ unset rvm_configure_flags rvm_patch_names rvm_make_flags
++ 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_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_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_dump_environment_flag rvm_ruby_alias rvm_static_flag rvm_archive_extension rvm_hook rvm_ruby_name rvm_remote_flag
++ __rvm_load_rvmrc
++ typeset _file
++ typeset -a rvm_rvmrc_files
++ (( 0 == 1 ))
++ [[ -n 0022 ]]
++ rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
++ [[ -n /usr/local ]]
++ [[ /var/apps/perch/.rvmrc -ef /usr/local/.rvmrc ]]
++ rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /etc/rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /etc/rvmrc
++ source /etc/rvmrc
+++ umask u=rwx,g=rwx,o=rx
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /var/apps/perch/.rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /var/apps/perch/.rvmrc
++ source /var/apps/perch/.rvmrc
+++ export rvm_environments_path=/var/apps/perch/.rvm/environments
+++ rvm_environments_path=/var/apps/perch/.rvm/environments
+++ export rvm_gems_path=/var/apps/perch/.rvm/gems
+++ rvm_gems_path=/var/apps/perch/.rvm/gems
+++ export rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ export rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ export rvm_user_path=/var/apps/perch/.rvm/user
+++ rvm_user_path=/var/apps/perch/.rvm/user
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /usr/local/.rvmrc ]]
++ return 0
++ (( 0 == 0 ))
++ [[ -n 0022 ]]
++ rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
++ [[ -n /usr/local ]]
++ [[ /var/apps/perch/.rvmrc -ef /usr/local/.rvmrc ]]
++ rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ [[ -f /etc/rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /etc/rvmrc
++ source /etc/rvmrc
+++ umask u=rwx,g=rwx,o=rx
++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ [[ -f /var/apps/perch/.rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /var/apps/perch/.rvmrc
++ source /var/apps/perch/.rvmrc
+++ export rvm_environments_path=/var/apps/perch/.rvm/environments
+++ rvm_environments_path=/var/apps/perch/.rvm/environments
+++ export rvm_gems_path=/var/apps/perch/.rvm/gems
+++ rvm_gems_path=/var/apps/perch/.rvm/gems
+++ export rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ export rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ export rvm_user_path=/var/apps/perch/.rvm/user
+++ rvm_user_path=/var/apps/perch/.rvm/user
++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ [[ -f /usr/local/.rvmrc ]]
++ unset rvm_rvmrc_files
++ export rvm_path
++ [[ -z /usr/local/rvm ]]
++ [[ -z '' ]]
++ for gemrc in '"/etc/gemrc"' '"${HOME}/.gemrc"'
++ [[ -r /etc/gemrc ]]
++ for gemrc in '"/etc/gemrc"' '"${HOME}/.gemrc"'
++ [[ -r /var/apps/perch/.gemrc ]]
++ true /usr/local/rvm/scripts
++ (( 0 == 0 ))
++ export rvm_user_install_flag rvm_man_path
++ (( UID == 0 ))
++ [[ -n /usr/local ]]
++ [[ /usr/local != \/\v\a\r\/\a\p\p\s\/\p\e\r\c\h ]]
++ true /usr/local/share/man
++ rvm_user_install_flag=0
++ : rvm_bin_path:/usr/local/rvm/bin rvm_man_path:/usr/local/share/man rvm_archives_path:/usr/local/rvm/archives rvm_docs_path:/usr/local/rvm/docs rvm_environments_path:/var/apps/perch/.rvm/environments rvm_examples_path:/usr/local/rvm/examples rvm_gems_path:/var/apps/perch/.rvm/gems rvm_gemsets_path:/usr/local/rvm/gemsets rvm_help_path:/usr/local/rvm/help rvm_hooks_path:/usr/local/rvm/hooks rvm_lib_path:/usr/local/rvm/lib rvm_log_path:/usr/local/rvm/log rvm_patches_path:/usr/local/rvm/patches rvm_repos_path:/usr/local/rvm/repos rvm_rubies_path:/usr/local/rvm/rubies rvm_externals_path:/usr/local/rvm/externals rvm_rubygems_path:/usr/local/rvm/rubygems rvm_src_path:/usr/local/rvm/src rvm_tmp_path:/usr/local/rvm/tmp rvm_user_path:/var/apps/perch/.rvm/user rvm_usr_path:/usr/local/rvm/usr rvm_wrappers_path:/var/apps/perch/.rvm/wrappers rvm_verbose_flag:0 rvm_debug_flag:0 rvm_gems_cache_path:/var/apps/perch/.rvm/gems_cache
++ export -a rvm_configure_flags rvm_patch_names rvm_ree_options rvm_make_flags
++ export rvm_action rvm_alias_expanded rvm_archive_extension rvm_archives_path rvm_bin_flag rvm_bin_path 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_hooks_path rvm_install_on_use_flag rvm_lib_path rvm_llvm_flag rvm_loaded_flag rvm_log_path rvm_niceness rvm_nightly_flag rvm_only_path_flag rvm_parse_break rvm_patch_original_pwd rvm_patches_path rvm_path rvm_pretty_print_flag rvm_proxy rvm_quiet_flag rvm_reload_flag rvm_remove_flag rvm_repos_path rvm_rubies_path rvm_ruby_alias 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_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_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 rvm_remote_flag
+ __rvm_setup
+ export rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_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_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_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag
+ export rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_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
+ 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_sha rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name
+ export __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_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems
+ export -a rvm_patch_names rvm_ree_options rvm_autoconf_flags
+ (( __rvm_env_loaded != 1 ))
+ [[ -n 4.2.24(1)-release ]]
+ __function_on_stack cd pushd popd
+ typeset fun
+ for fun in '"$@"'
+ [[ __function_on_stack __rvm_setup __rvm_do_with_env_before cd =~ cd ]]
+ return 0
+ [[ -n '' ]]
+ __rvm_project_rvmrc
+ export __rvm_project_rvmrc_lock
+ : __rvm_project_rvmrc_lock:0
+ : __rvm_project_rvmrc_lock:1
+ (( __rvm_project_rvmrc_lock > 1 ))
+ typeset working_dir found_file rvm_trustworthiness_result
+ working_dir=/var/apps/perch/current
+ :
+ [[ -z /var/apps/perch/current ]]
+ [[ /var/apps/perch == \/\v\a\r\/\a\p\p\s\/\p\e\r\c\h\/\c\u\r\r\e\n\t ]]
+ [[ /usr/local == \/\v\a\r\/\a\p\p\s\/\p\e\r\c\h\/\c\u\r\r\e\n\t ]]
+ [[ / == \/\v\a\r\/\a\p\p\s\/\p\e\r\c\h\/\c\u\r\r\e\n\t ]]
+ __rvm_project_dir_check /var/apps/perch/current found_file
+ typeset _found_file path_to_check variable variable_default
+ typeset -a _valid_files
+ path_to_check=/var/apps/perch/current
+ variable=found_file
+ variable_default=
+ _valid_files=("$path_to_check" "$path_to_check/.rvmrc" "$path_to_check/.versions.conf" "$path_to_check/.ruby-version" "$path_to_check/.rbfu-version" "$path_to_check/.rbenv-version" "$path_to_check/Gemfile")
+ __rvm_find_first_file _found_file /var/apps/perch/current /var/apps/perch/current/.rvmrc /var/apps/perch/current/.versions.conf /var/apps/perch/current/.ruby-version /var/apps/perch/current/.rbfu-version /var/apps/perch/current/.rbenv-version /var/apps/perch/current/Gemfile
+ typeset _first_file _variable_first_file __file_enum
+ _first_file=
+ _variable_first_file=_found_file
+ shift
+ for __file_enum in '"$@"'
+ [[ -f /var/apps/perch/current ]]
+ for __file_enum in '"$@"'
+ [[ -f /var/apps/perch/current/.rvmrc ]]
+ eval '_found_file="$__file_enum"'
++ _found_file=/var/apps/perch/current/.rvmrc
+ return 0
+ [[ .rvmrc == \G\e\m\f\i\l\e ]]
+ [[ -n found_file ]]
+ eval 'found_file="${_found_file:-}"'
++ found_file=/var/apps/perch/current/.rvmrc
+ [[ -n /var/apps/perch/current/.rvmrc ]]
+ [[ '' != \/\v\a\r\/\a\p\p\s\/\p\e\r\c\h\/\c\u\r\r\e\n\t\/\.\r\v\m\r\c ]]
+ __rvm_conditionally_do_with_env __rvm_load_project_config /var/apps/perch/current/.rvmrc
+ (( __rvm_env_loaded > 0 ))
+ __rvm_load_project_config /var/apps/perch/current/.rvmrc
+ typeset __gemfile
+ : rvm_autoinstall_bundler_flag:0
+ case "$1" in
+ __rvm_check_rvmrc_trustworthiness /var/apps/perch/current/.rvmrc
+ typeset saveIFS trust result
+ [[ -n /var/apps/perch/current/.rvmrc ]]
+ [[ 0 == 0 ]]
+ saveIFS='
'
+ IFS=';'
+ trust=($( __rvm_rvmrc_stored_trust "$1" ))
++ __rvm_rvmrc_stored_trust /var/apps/perch/current/.rvmrc
++ [[ -f /var/apps/perch/current/.rvmrc ]]
+++ __rvm_rvmrc_key /var/apps/perch/current/.rvmrc
+++ printf %b /var/apps/perch/current/.rvmrc
+++ tr '[#/.=]' _
+++ return 0
++ /usr/local/rvm/scripts/db /var/apps/perch/.rvm/user/rvmrcs _var_apps_perch_current__rvmrc
+ IFS='
'
++ __rvm_md5_for_contents /var/apps/perch/current/.rvmrc
++ builtin command -v md5
++ builtin command -v md5sum
++ echo /var/apps/perch/current/.rvmrc
++ cat - /var/apps/perch/current/.rvmrc
++ md5sum
++ awk '{print $1}'
++ return 0
++ __rvm_sha256_for_contents /var/apps/perch/current/.rvmrc
++ builtin command -v sha256sum
++ echo /var/apps/perch/current/.rvmrc
++ cat - /var/apps/perch/current/.rvmrc
++ sha256sum
++ awk '{print $1}'
++ return 0
+ [[ 80149d95370493380cff25a150fda63ca5aea02c553ed636f22248252b4802c1d37264f4b8752faf48f8926689681037 != \8\0\1\4\9\d\9\5\3\7\0\4\9\3\3\8\0\c\f\f\2\5\a\1\5\0\f\d\a\6\3\c\a\5\a\e\a\0\2\c\5\5\3\e\d\6\3\6\f\2\2\2\4\8\2\5\2\b\4\8\0\2\c\1\d\3\7\2\6\4\f\4\b\8\7\5\2\f\a\f\4\8\f\8\9\2\6\6\8\9\6\8\1\0\3\7 ]]
+ [[ 1 == \1 ]]
+ result=0
+ unset escape_flag
+ return 0
+ __rvm_remove_rvm_from_path
+ typeset local_rvm_path
+ __rvm_remove_from_path '/usr/local/rvm/*'
+ export PATH
+ typeset -a _path
+ _path=()
+ __rvm_custom_separated_array _path : /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ typeset IFS
+ IFS=:
+ [[ -n '' ]]
+ eval '_path+=( $3 )'
++ _path+=($3)
+ __rvm_remove_from_array _path '/usr/local/rvm/*' /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin /var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin /usr/local/rvm/rubies/ruby-1.9.3-p194/bin /usr/local/rvm/bin /usr/local/bin /usr/bin /bin /usr/local/games /usr/games
+ typeset _array_name _search _iterator
+ typeset -a _temp_array
+ _array_name=_path
+ _search='/usr/local/rvm/*'
+ shift 2
+ _temp_array=()
+ for _iterator in '"$@"'
+ __rvm_string_match /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin '/usr/local/rvm/*'
+ typeset _string
+ _string=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin '/usr/local/rvm/*'
+ typeset _string
+ _string=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/rvm/rubies/ruby-1.9.3-p194/bin '/usr/local/rvm/*'
+ typeset _string
+ _string=/usr/local/rvm/rubies/ruby-1.9.3-p194/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ return 0
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/rvm/bin '/usr/local/rvm/*'
+ typeset _string
+ _string=/usr/local/rvm/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ return 0
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/bin '/usr/local/rvm/*'
+ typeset _string
+ _string=/usr/local/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/bin '/usr/local/rvm/*'
+ typeset _string
+ _string=/usr/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /bin '/usr/local/rvm/*'
+ typeset _string
+ _string=/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/games '/usr/local/rvm/*'
+ typeset _string
+ _string=/usr/local/games
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/games '/usr/local/rvm/*'
+ typeset _string
+ _string=/usr/games
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ eval '_path=( "${_temp_array[@]}" )'
++ _path=("${_temp_array[@]}")
+ __rvm_join_array PATH : _path
+ typeset IFS
+ IFS=:
+ eval 'PATH="${_path[*]}"'
++ PATH=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ __rvm_remove_from_path /usr/local/rvm/bin
+ export PATH
+ typeset -a _path
+ _path=()
+ __rvm_custom_separated_array _path : /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ typeset IFS
+ IFS=:
+ [[ -n '' ]]
+ eval '_path+=( $3 )'
++ _path+=($3)
+ __rvm_remove_from_array _path /usr/local/rvm/bin /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin /var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin /usr/local/bin /usr/bin /bin /usr/local/games /usr/games
+ typeset _array_name _search _iterator
+ typeset -a _temp_array
+ _array_name=_path
+ _search=/usr/local/rvm/bin
+ shift 2
+ _temp_array=()
+ for _iterator in '"$@"'
+ __rvm_string_match /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin /usr/local/rvm/bin
+ typeset _string
+ _string=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin /usr/local/rvm/bin
+ typeset _string
+ _string=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/bin /usr/local/rvm/bin
+ typeset _string
+ _string=/usr/local/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/bin /usr/local/rvm/bin
+ typeset _string
+ _string=/usr/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /bin /usr/local/rvm/bin
+ typeset _string
+ _string=/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/games /usr/local/rvm/bin
+ typeset _string
+ _string=/usr/local/games
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/games /usr/local/rvm/bin
+ typeset _string
+ _string=/usr/games
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ eval '_path=( "${_temp_array[@]}" )'
++ _path=("${_temp_array[@]}")
+ __rvm_join_array PATH : _path
+ typeset IFS
+ IFS=:
+ eval 'PATH="${_path[*]}"'
++ PATH=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
++ __rvm_which rvm
+ local_rvm_path=/usr/bin/rvm
+ __rvm_remove_from_path /usr/bin
+ export PATH
+ typeset -a _path
+ _path=()
+ __rvm_custom_separated_array _path : /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ typeset IFS
+ IFS=:
+ [[ -n '' ]]
+ eval '_path+=( $3 )'
++ _path+=($3)
+ __rvm_remove_from_array _path /usr/bin /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin /var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin /usr/local/bin /usr/bin /bin /usr/local/games /usr/games
+ typeset _array_name _search _iterator
+ typeset -a _temp_array
+ _array_name=_path
+ _search=/usr/bin
+ shift 2
+ _temp_array=()
+ for _iterator in '"$@"'
+ __rvm_string_match /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin /usr/bin
+ typeset _string
+ _string=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin /usr/bin
+ typeset _string
+ _string=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/bin /usr/bin
+ typeset _string
+ _string=/usr/local/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/bin /usr/bin
+ typeset _string
+ _string=/usr/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ return 0
+ for _iterator in '"$@"'
+ __rvm_string_match /bin /usr/bin
+ typeset _string
+ _string=/bin
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/local/games /usr/bin
+ typeset _string
+ _string=/usr/local/games
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ for _iterator in '"$@"'
+ __rvm_string_match /usr/games /usr/bin
+ typeset _string
+ _string=/usr/games
+ shift
+ (( 1 ))
+ case "${_string}" in
+ shift
+ (( 0 ))
+ return 1
+ _temp_array+=("$_iterator")
+ eval '_path=( "${_temp_array[@]}" )'
++ _path=("${_temp_array[@]}")
+ __rvm_join_array PATH : _path
+ typeset IFS
+ IFS=:
+ eval 'PATH="${_path[*]}"'
++ PATH=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games
++ __rvm_which rvm
+ local_rvm_path=
+ builtin hash -r
+ __rvm_conditionally_add_bin_path
+ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games: =~ :/usr/local/rvm/bin: ]]
+ case "${rvm_ruby_string:-"system"}" in
+ PATH=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
+ builtin hash -r
++ __rvm_env_string
++ typeset _path _string
++ _path=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194
++ _string=ruby-1.9.3-p194
++ _string=ruby-1.9.3-p194
++ printf %b ruby-1.9.3-p194
+ rvm_previous_environment=ruby-1.9.3-p194
+ rvm_current_rvmrc=/var/apps/perch/current/.rvmrc
+ __rvm_ensure_is_a_function
+ [[ 0 == 1 ]]
+ is_a_function rvm
+ typeset -f rvm
+ source /var/apps/perch/current/.rvmrc
++ rvm_trust_rvmrcs_flag=1
++ rvm use ruby-1.9.3@perch --create
++ typeset result current_result
++ export -a rvm_ruby_args
++ rvm_ruby_args=()
++ (( 0 == 0 ))
++ [[ -n 0022 ]]
++ rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
++ [[ -n /usr/local ]]
++ [[ ! /var/apps/perch/.rvmrc -ef /usr/local/.rvmrc ]]
++ rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ [[ -f /etc/rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /etc/rvmrc
++ source /etc/rvmrc
+++ umask u=rwx,g=rwx,o=rx
++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ [[ -f /var/apps/perch/.rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /var/apps/perch/.rvmrc
++ source /var/apps/perch/.rvmrc
+++ export rvm_environments_path=/var/apps/perch/.rvm/environments
+++ rvm_environments_path=/var/apps/perch/.rvm/environments
+++ export rvm_gems_path=/var/apps/perch/.rvm/gems
+++ rvm_gems_path=/var/apps/perch/.rvm/gems
+++ export rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ export rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ export rvm_user_path=/var/apps/perch/.rvm/user
+++ rvm_user_path=/var/apps/perch/.rvm/user
++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ [[ -f /usr/local/.rvmrc ]]
++ unset rvm_rvmrc_files
+++ cat /usr/local/rvm/VERSION
+++ cat /usr/local/rvm/RELEASE
++ disk_version='1.16.13 (stable)'
++ [[ -s /usr/local/rvm/VERSION ]]
++ [[ 1.16.13 (stable) != \1\.\1\6\.\1\3\ \(\s\t\a\b\l\e\) ]]
++ __rvm_initialize
++ true /usr/local/rvm/scripts
++ source /usr/local/rvm/scripts/base
+++ : rvm_trace_flag:0
+++ (( rvm_trace_flag > 0 ))
+++ export __array_start rvm_path
+++ [[ -n '' ]]
+++ __array_start=0
+++ (( 0 == 0 ))
+++ [[ -n 0022 ]]
+++ rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
+++ [[ -n /usr/local ]]
+++ [[ /var/apps/perch/.rvmrc -ef /usr/local/.rvmrc ]]
+++ rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
+++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ [[ -f /etc/rvmrc ]]
+++ GREP_OPTIONS=
+++ grep '^\s*rvm .*$' /etc/rvmrc
+++ source /etc/rvmrc
++++ umask u=rwx,g=rwx,o=rx
+++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ [[ -f /var/apps/perch/.rvmrc ]]
+++ GREP_OPTIONS=
+++ grep '^\s*rvm .*$' /var/apps/perch/.rvmrc
+++ source /var/apps/perch/.rvmrc
++++ export rvm_environments_path=/var/apps/perch/.rvm/environments
++++ rvm_environments_path=/var/apps/perch/.rvm/environments
++++ export rvm_gems_path=/var/apps/perch/.rvm/gems
++++ rvm_gems_path=/var/apps/perch/.rvm/gems
++++ export rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
++++ rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
++++ export rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
++++ rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
++++ export rvm_user_path=/var/apps/perch/.rvm/user
++++ rvm_user_path=/var/apps/perch/.rvm/user
+++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ [[ -f /usr/local/.rvmrc ]]
+++ unset rvm_rvmrc_files
+++ export rvm_path
+++ [[ -z /usr/local/rvm ]]
+++ true /usr/local/rvm/scripts
+++ source /usr/local/rvm/scripts/initialize
++++ : rvm_trace_flag:0
++++ (( rvm_trace_flag > 0 ))
++++ [[ -n 4.2.24(1)-release ]]
++++ shopt -s extglob
++++ export __rvm_env_loaded
++++ : __rvm_env_loaded:1:
++++ : __rvm_env_loaded:2:
++++ [[ -z /usr/local/rvm/tmp ]]
++++ (( __rvm_env_loaded == 1 ))
+++ case " ${rvm_base_except:-} " in
+++ source /usr/local/rvm/scripts/selector
+++ source /usr/local/rvm/scripts/selector_gemsets
+++ typeset -a scripts
+++ scripts=(logging support utility init cleanup env rvmrc install environment gemset db bundler checksum)
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/logging
+++++ /usr/local/rvm/scripts/color red
++++ rvm_error_clr=
+++++ /usr/local/rvm/scripts/color yellow
++++ rvm_warn_clr=
+++++ /usr/local/rvm/scripts/color magenta
++++ rvm_debug_clr=
+++++ /usr/local/rvm/scripts/color green
++++ rvm_notify_clr=
+++++ /usr/local/rvm/scripts/color reset
++++ rvm_reset_clr=
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/support
++++ [[ -z '' ]]
++++ builtin command -v gtar
++++ rvm_tar_command=tar
++++ [[ ! =~ --no-same-owner ]]
++++ tar --help
++++ GREP_OPTIONS=
++++ grep -- --no-same-owner
++++ rvm_tar_options=' --no-same-owner'
++++ rvm_tar_options=--no-same-owner
++++ [[ -n '' ]]
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/utility
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/init
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/cleanup
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/env
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/rvmrc
++++ export escape_flag _first _second
++++ escape_flag=1
++++ _first=0
++++ _second=1
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/install
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/environment
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/gemset
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/db
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/bundler
+++ for entry in '${scripts[@]}'
+++ source /usr/local/rvm/scripts/functions/checksum
+++ unset scripts entry rvm_base_except
++ __rvm_clean_path
++ export PATH
++ typeset IFS _iterator_path
++ typeset -a _old_path _new_path
++ IFS=:
++ _old_path=()
++ __rvm_custom_separated_array _old_path : /var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
++ typeset IFS
++ IFS=:
++ [[ -n '' ]]
++ eval '_old_path+=( $3 )'
+++ _old_path+=($3)
++ for _iterator_path in '"${_old_path[@]}"'
++ [[ :: =~ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin: ]]
++ _new_path+=("${_iterator_path}")
++ for _iterator_path in '"${_old_path[@]}"'
++ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin: =~ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin: ]]
++ _new_path+=("${_iterator_path}")
++ for _iterator_path in '"${_old_path[@]}"'
++ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin: =~ :/usr/local/bin: ]]
++ _new_path+=("${_iterator_path}")
++ for _iterator_path in '"${_old_path[@]}"'
++ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin: =~ :/bin: ]]
++ _new_path+=("${_iterator_path}")
++ for _iterator_path in '"${_old_path[@]}"'
++ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin: =~ :/usr/local/games: ]]
++ _new_path+=("${_iterator_path}")
++ for _iterator_path in '"${_old_path[@]}"'
++ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games: =~ :/usr/games: ]]
++ _new_path+=("${_iterator_path}")
++ for _iterator_path in '"${_old_path[@]}"'
++ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games: =~ :/usr/local/rvm/bin: ]]
++ _new_path+=("${_iterator_path}")
++ PATH=/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
++ builtin hash -r
++ __rvm_conditionally_add_bin_path
++ [[ :/var/apps/perch/.rvm/gems/ruby-1.9.3-p194/bin:/var/apps/perch/.rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin: =~ :/usr/local/rvm/bin: ]]
++ export PATH
++ [[ ! -d /usr/local/rvm/tmp ]]
++ return 0
++ __rvm_setup
++ export rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_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_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_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag
++ export rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_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
++ 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_sha rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name
++ export __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_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems
++ export -a rvm_patch_names rvm_ree_options rvm_autoconf_flags
++ (( __rvm_env_loaded != 1 ))
++ return 0
++ next_token=use
++ (( 3 == 0 ))
++ shift
++ __rvm_parse_args ruby-1.9.3@perch --create
++ typeset _string
++ export rvm_ruby_string
++ rvm_action=
++ rvm_parse_break=0
++ [[ ruby-1.9.3@perch --create =~ --trace ]]
++ [[ -n use ]]
++ rvm_token=use
++ (( 2 > 0 ))
++ next_token=ruby-1.9.3@perch
++ shift
++ case "$rvm_token" in
++ case "$rvm_token" in
++ rvm_action=use
++ rvm_verbose_flag=1
++ [[ ruby == \r\u\b\y\-\1\.\9\.\3\@\p\e\r\c\h ]]
++ [[ -z use ]]
++ [[ error == \u\s\e ]]
++ [[ 0 -eq 1 ]]
++ [[ -n '' ]]
++ [[ -n ruby-1.9.3@perch ]]
++ rvm_token=ruby-1.9.3@perch
++ (( 1 > 0 ))
++ next_token=--create
++ shift
++ case "$rvm_token" in
++ case "$rvm_token" in
++ rvm_action=use
++ rvm_gemset_name=perch
++ rvm_ruby_string=ruby-1.9.3@perch
++ rvm_ruby_strings=ruby-1.9.3@perch
++ [[ -z use ]]
++ [[ error == \u\s\e ]]
++ [[ 0 -eq 1 ]]
++ [[ -n '' ]]
++ [[ -n --create ]]
++ rvm_token=--create
++ (( 0 > 0 ))
++ next_token=
++ case "$rvm_token" in
++ case "$rvm_token" in
++ rvm_token=create
++ rvm_token=create
++ export rvm_create_flag=1
++ rvm_create_flag=1
++ [[ -z use ]]
++ [[ error == \u\s\e ]]
++ [[ 0 -eq 1 ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ : rvm_ruby_args:0::
++ [[ -n '' ]]
++ result=0
++ : rvm_ruby_args:0::
++ (( result ))
++ case "${rvm_action:=usage}" in
++ rvm_is_a_shell_function
++ typeset _message
++ (( 0 ))
++ return 0
++ __rvm_use
++ typeset new_path binary full_binary_path rvm_ruby_gem_home
++ __rvm_select
++ true perch
++ typeset _original_env_string
++ _original_env_string=
++ export -a rvm_configure_flags rvm_patch_names rvm_ree_options rvm_make_flags
++ export GEM_HOME GEM_PATH MY_RUBY_HOME RUBY_VERSION IRBRC
++ export rvm_env_string rvm_action rvm_alias_expanded rvm_archive_extension rvm_bin_flag rvm_bin_path rvm_debug_flag rvm_default_flag rvm_delete_flag rvm_docs_type rvm_dump_environment_flag rvm_error_message rvm_expanding_aliases rvm_file_name rvm_gemdir_flag rvm_gemset_name rvm_gemstone_package_file rvm_gemstone_url rvm_head_flag rvm_hook rvm_install_on_use_flag rvm_llvm_flag rvm_loaded_flag rvm_niceness rvm_nightly_flag rvm_only_path_flag rvm_parse_break rvm_patch_original_pwd rvm_pretty_print_flag rvm_proxy rvm_quiet_flag rvm_reload_flag rvm_remove_flag rvm_ruby_alias 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_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_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_sdk rvm_silent_flag rvm_sticky_flag rvm_system_flag rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_verbose_flag rvm_wrapper_name rvm_architectures
++ [[ -z ruby-1.9.3@perch ]]
++ __rvm_ruby_string
++ typeset ruby_string gemset_name expanded_alias_name repo_url branch_name ruby_name
++ __rvm_default_flags
++ true 0 0
++ rvm_expanding_aliases=
++ true '' perch '' '' '' '' '' @ ruby-1.9.3@perch 0 0
++ echo ruby-1.9.3@perch
++ GREP_OPTIONS=
++ grep @
++ rvm_gemset_name=perch
++ rvm_ruby_string=ruby-1.9.3
++ (( rvm_expanding_aliases == 0 ))
++ [[ -n ruby-1.9.3 ]]
++ [[ ruby-1.9.3 != \s\y\s\t\e\m ]]
+++ /usr/local/rvm/scripts/alias show ruby-1.9.3
++ expanded_alias_name=
++ [[ -n '' ]]
++ [[ ruby-1.9.3 == default ]]
++ echo ruby-1.9.3
++ GREP_OPTIONS=
++ grep @
++ ruby_string=ruby-1.9.3
++ gemset_name=perch
++ repo_url=
++ branch_name=
++ ruby_name=
++ __rvm_unset_ruby_variables
++ 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_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
++ __rvm_load_rvmrc
++ typeset _file
++ typeset -a rvm_rvmrc_files
++ (( 0 == 1 ))
++ [[ -n 0022 ]]
++ rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
++ [[ -n /usr/local ]]
++ [[ /var/apps/perch/.rvmrc -ef /usr/local/.rvmrc ]]
++ rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /etc/rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /etc/rvmrc
++ source /etc/rvmrc
+++ umask u=rwx,g=rwx,o=rx
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /var/apps/perch/.rvmrc ]]
++ GREP_OPTIONS=
++ grep '^\s*rvm .*$' /var/apps/perch/.rvmrc
++ source /var/apps/perch/.rvmrc
+++ export rvm_environments_path=/var/apps/perch/.rvm/environments
+++ rvm_environments_path=/var/apps/perch/.rvm/environments
+++ export rvm_gems_path=/var/apps/perch/.rvm/gems
+++ rvm_gems_path=/var/apps/perch/.rvm/gems
+++ export rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ rvm_gems_cache_path=/var/apps/perch/.rvm/gems_cache
+++ export rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ rvm_wrappers_path=/var/apps/perch/.rvm/wrappers
+++ export rvm_user_path=/var/apps/perch/.rvm/user
+++ rvm_user_path=/var/apps/perch/.rvm/user
++ for _file in '"${rvm_rvmrc_files[@]}"'
++ [[ -s /usr/local/.rvmrc ]]
++ return 0
++ rvm_ruby_repo_url=
++ rvm_ruby_repo_branch=
++ rvm_ruby_name=
++ [[ -n perch ]]
++ rvm_gemset_name=perch
++ rvm_sticky_flag=1
++ strings=()
++ __rvm_custom_separated_array strings - ruby-1.9.3
++ typeset IFS
++ IFS=-
++ [[ -n '' ]]
++ eval 'strings+=( $3 )'
+++ strings+=($3)
++ (( 2 == 0 ))
++ for string in '${strings[@]}'
++ case "$string" in
++ rvm_ruby_interpreter=ruby
++ for string in '${strings[@]}'
++ case "$string" in
++ [[ ruby == \r\b\x ]]
++ case "$string" in
++ rvm_ruby_version=1.9.3
++ rvm_ruby_revision=
++ rvm_ruby_tag=
++ [[ -z ruby ]]
++ rvm_ruby_version=1.9.3
++ [[ -z 1.9.3 ]]
++ [[ -z 1.9.3 ]]
++ rvm_ruby_string=ruby-1.9.3
++ [[ ruby == \e\x\t ]]
++ (( 0 == 1 ))
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
+++ __rvm_db ruby_1.9.3_patch_level
+++ typeset value key variable
+++ key=ruby_1.9.3_patch_level
+++ key=ruby_1.9.3_patch_level
+++ variable=
+++ [[ -f /var/apps/perch/.rvm/user/db ]]
++++ /usr/local/rvm/scripts/db /var/apps/perch/.rvm/user/db ruby_1.9.3_patch_level
+++ value=
+++ [[ -z '' ]]
++++ /usr/local/rvm/scripts/db /usr/local/rvm/config/db ruby_1.9.3_patch_level
/usr/local/rvm/scripts/db: line 61: awk: command not found
+++ value=
+++ [[ -n '' ]]
+++ return 0
++ patch_level=
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ detected_rvm_ruby_name=
++ rvm_archive_extension=tar.gz
++ [[ -z ruby ]]
++ case "${rvm_ruby_interpreter:-missing}" in
++ [[ -n '' ]]
++ rvm_ruby_package_file=ruby-1.9.3
++ rvm_ruby_package_name=ruby-1.9.3
++ [[ -z 1.9.3 ]]
+++ __rvm_db ruby_repo_url
+++ typeset value key variable
+++ key=ruby_repo_url
+++ key=ruby_repo_url
+++ variable=
+++ [[ -f /var/apps/perch/.rvm/user/db ]]
++++ /usr/local/rvm/scripts/db /var/apps/perch/.rvm/user/db ruby_repo_url
+++ value=
+++ [[ -z '' ]]
++++ /usr/local/rvm/scripts/db /usr/local/rvm/config/db ruby_repo_url
/usr/local/rvm/scripts/db: line 61: awk: command not found
+++ value=
+++ [[ -n '' ]]
+++ return 0
++ rvm_ruby_repo_url=
++ (( 0 == 0 ))
++ case "${rvm_ruby_version}" in
++ rvm_archive_extension=tar.bz2
++ [[ -n 1.9.3 ]]
++ case "$rvm_ruby_version" in
++ rvm_ruby_release_version=1
++ rvm_ruby_major_version=1.9
++ rvm_ruby_major_version=9
++ rvm_ruby_minor_version=3
++ [[ ruby == ext ]]
++ rvm_ruby_package_name=ruby-1.9.3
++ rvm_ruby_home=/usr/local/rvm/rubies/ruby-1.9.3
++ rvm_ruby_irbrc=/usr/local/rvm/rubies/ruby-1.9.3/.irbrc
++ rvm_ruby_binary=/usr/local/rvm/rubies/ruby-1.9.3/bin/ruby
++ [[ maglev == \r\u\b\y ]]
++ [[ system != \r\u\b\y ]]
++ __rvm_gemset_select
++ __rvm_gemset_select_only
++ rvm_ruby_gem_home=/var/apps/perch/.rvm/gems/ruby-1.9.3
++ : rvm_ignore_gemsets_flag:0:
++ (( rvm_ignore_gemsets_flag ))
++ rvm_ruby_global_gems_path=/var/apps/perch/.rvm/gems/ruby-1.9.3@global
++ __rvm_gemset_handle_default
++ rvm_gemset_name=@perch@
++ rvm_gemset_name=@perch@
++ rvm_gemset_name=perch@
++ rvm_gemset_name=perch
++ [[ -z perch ]]
++ rvm_ruby_gem_home=/var/apps/perch/.rvm/gems/ruby-1.9.3@perch
++ [[ perch == \g\l\o\b\a\l ]]
++ rvm_ruby_gem_path=/var/apps/perch/.rvm/gems/ruby-1.9.3@perch:/var/apps/perch/.rvm/gems/ruby-1.9.3@global
++ [[ -n perch ]]
++ rvm_env_string=ruby-1.9.3@perch
++ __rvm_gemset_select_validation
++ [[ ! -d /var/apps/perch/.rvm/gems/ruby-1.9.3@perch ]]
++ (( 0 == 1 ))
++ __rvm_gemset_select_ensure
++ mkdir -p /var/apps/perch/.rvm/gems/ruby-1.9.3@perch
++ __rvm_using_gemset_globalcache
++ /usr/local/rvm/scripts/db /var/apps/perch/.rvm/user/db use_gemset_globalcache
++ GREP_OPTIONS=
++ grep '^true$'
++ return 1
++ case $? in
++ rvm_ruby_selected_flag=1
++ [[ -d /usr/local/rvm/log/ruby-1.9.3 ]]
++ mkdir -p /usr/local/rvm/log/ruby-1.9.3
++ rvm_ruby_interpreter=ruby
++ [[ system == ruby ]]
++ [[ ! -d /usr/local/rvm/rubies/ruby-1.9.3 ]]
++ [[ 0 -eq 1 ]]
++ rvm_error 'ruby-1.9.3 is not installed.'
++ rvm_pretty_print stderr
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'ruby-1.9.3 is not installed.\n'
ruby-1.9.3 is not installed.
++ rvm_log 'To install do: '\''rvm install ruby-1.9.3'\'''
++ rvm_pretty_print stdout
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 1 ]]
++ return 1
++ printf %b 'To install do: '\''rvm install ruby-1.9.3'\''\n'
To install do: 'rvm install ruby-1.9.3'
++ export 'rvm_recommended_ruby=rvm install ruby-1.9.3'
++ rvm_recommended_ruby='rvm install ruby-1.9.3'
++ return 1
++ current_result=1
++ (( result ))
++ result=1
++ (( result ))
++ current_result=0
++ (( result ))
++ [[ 0 -eq 1 ]]
++ typeset __local_rvm_trace_flag
++ __local_rvm_trace_flag=0
++ __rvm_teardown
++ builtin command -v __rvm_cleanup_tmp
++ __rvm_cleanup_tmp
++ [[ -d /usr/local/rvm/tmp/ ]]
++ case "${rvm_tmp_path%\/}" in
++ __rvm_rm_rf '/usr/local/rvm/tmp/28034*'
++ __rvm_rm_rf_verbose '/usr/local/rvm/tmp/28034*'
++ typeset result target
++ result=1
++ target='/usr/local/rvm/tmp/28034*'
++ [[ -n '' ]]
++ [[ -n 4.2.24(1)-release ]]
++ shopt -s extglob
++ case "${target}" in
++ [[ -n /usr/local/rvm/tmp/28034* ]]
++ [[ -d /usr/local/rvm/tmp/28034* ]]
++ [[ -f /usr/local/rvm/tmp/28034* ]]
++ [[ -L /usr/local/rvm/tmp/28034* ]]
++ result=0
++ return 0
++ return 0
++ export __rvm_env_loaded
++ : __rvm_env_loaded:2:
++ : __rvm_env_loaded:2:
++ : __rvm_env_loaded:1:
++ [[ -z /usr/local/rvm/tmp ]]
++ (( __rvm_env_loaded > 0 ))
++ return 0
++ (( __local_rvm_trace_flag > 0 ))
++ return 1
+ [[ -n '' ]]
+ break
+ unset __rvm_project_rvmrc_lock
+ return 0
+ __rvm_after_cd
+ typeset rvm_hook
+ rvm_hook=after_cd
+ [[ -n /usr/local/rvm/scripts ]]
+ source /usr/local/rvm/scripts/hook
++ typeset old_rvm_verbose_flag old_rvm_debug_flag
++ old_rvm_verbose_flag=1
++ old_rvm_debug_flag=0
++ typeset rvm_verbose_flag rvm_debug_flag hooks
++ true rvm_verbose_flag:1 rvm_debug_flag:0 rvm_hook:after_cd
++ [[ -n after_cd ]]
++ hooks=("$rvm_hooks_path")
++ [[ /var/apps/perch/current/.rvm/hooks == \/\u\s\r\/\l\o\c\a\l\/\r\v\m\/\h\o\o\k\s ]]
++ hooks+=("$PWD/.rvm/hooks")
++ _hooks_list=($(
find -L "${hooks[@]}" -iname "$rvm_hook*" -type f 2>/dev/null
))
+++ find -L /usr/local/rvm/hooks /var/apps/perch/current/.rvm/hooks -iname 'after_cd*' -type f
++ unset rvm_hook hooks _hooks_list hook
+ __rvm_do_with_env_after
+ __rvm_teardown
+ builtin command -v __rvm_cleanup_tmp
+ __rvm_cleanup_tmp
+ [[ -d /usr/local/rvm/tmp/ ]]
+ case "${rvm_tmp_path%\/}" in
+ __rvm_rm_rf '/usr/local/rvm/tmp/28034*'
+ __rvm_rm_rf_verbose '/usr/local/rvm/tmp/28034*'
+ typeset result target
+ result=1
+ target='/usr/local/rvm/tmp/28034*'
+ [[ -n '' ]]
+ [[ -n 4.2.24(1)-release ]]
+ shopt -s extglob
+ case "${target}" in
+ [[ -n /usr/local/rvm/tmp/28034* ]]
+ [[ -d /usr/local/rvm/tmp/28034* ]]
+ [[ -f /usr/local/rvm/tmp/28034* ]]
+ [[ -L /usr/local/rvm/tmp/28034* ]]
+ result=0
+ return 0
+ return 0
+ export __rvm_env_loaded
+ : __rvm_env_loaded:1:
+ : __rvm_env_loaded:1:
+ : __rvm_env_loaded:0:
+ [[ -z /usr/local/rvm/tmp ]]
+ (( __rvm_env_loaded > 0 ))
+ [[ -n 4.2.24(1)-release ]]
+ trap - 0 1 2 3 15
+ [[ -n '' ]]
+ [[ -n 0022 ]]
+ umask 0022
+ unset rvm_stored_umask
+ unset rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_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_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_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag
+ unset rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_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
+ 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_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name
+ 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_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems
+ unset rvm_patch_names rvm_ree_options rvm_autoconf_flags
+ builtin command -v __rvm_cleanup_download
+ return 0
+ return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment