Skip to content

Instantly share code, notes, and snippets.

@christophrumpel
Created April 11, 2013 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christophrumpel/5361695 to your computer and use it in GitHub Desktop.
Save christophrumpel/5361695 to your computer and use it in GitHub Desktop.
PAGER=cat rvm --trace notes
+__rvm_parse_args:686> [[ -n 4.3.11 ]]
+__rvm_parse_args:721> [[ -z '' && -n '' ]]
+__rvm_parse_args:724> [[ error == || 0 -eq 1 || -n '' ]]
+__rvm_parse_args:16> [[ -n notes ]]
+__rvm_parse_args:18> rvm_token=notes
+__rvm_parse_args:20> (( 0 > 0 ))
+__rvm_parse_args:25> next_token=''
+__rvm_parse_args:28> case notes ([[:alnum:]]*|@*)
+__rvm_parse_args:31> case notes (use)
+__rvm_parse_args:31> case notes (install|uninstall|reinstall|try_install)
+__rvm_parse_args:31> case notes (gemset)
+__rvm_parse_args:31> case notes (gemdir|gempath|gemhome)
+__rvm_parse_args:31> case notes (pkg)
+__rvm_parse_args:31> case notes (do|exec)
+__rvm_parse_args:31> case notes (gem|rake|ruby)
+__rvm_parse_args:31> case notes (fetch|version|srcdir|reset|debug|reload|update|monitor|notes|implode|seppuku|question|answer|env|unexport|automount|prepare)
+__rvm_parse_args:150> rvm_action=notes
+__rvm_parse_args:721> [[ -z notes ]]
+__rvm_parse_args:724> [[ error == notes || 0 -eq 1 || -n '' ]]
+__rvm_parse_args:16> [[ -n '' ]]
+__rvm_parse_args:729> : rvm_ruby_args:0::
+__rvm_parse_args:731> [[ -n '' ]]
/christophrumpel1.rvm/scripts/cli:915 rvm:88 result=0
/christophrumpel1.rvm/scripts/cli:916 rvm:89 : rvm_ruby_args:0::
/christophrumpel1.rvm/scripts/cli:918 rvm:91 (( result ))
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (use)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (switch)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (srcdir)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (inspect|usage|strings|version)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (ls|list)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (debug)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (info)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (benchmark|reset)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (update)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (reboot)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (implode|seppuku)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (get)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (current)
/christophrumpel1.rvm/scripts/cli:919 rvm:92 cmdor casecase notes (help|rtfm|env|list|monitor|notes|pkg|requirements)
/christophrumpel1.rvm/scripts/cli:984 rvm:157 cmdor casenext_token=notes
/christophrumpel1.rvm/scripts/cli:985 rvm:158 cmdor case(( 1 == 0 ))
/christophrumpel1.rvm/scripts/cli:985 rvm:158 cmdor case cmdorshift
/christophrumpel1.rvm/scripts/cli:986 rvm:159 cmdor case if(( 0 ))
/christophrumpel1.rvm/scripts/cli:989 rvm:162 cmdor case/christophrumpel1.rvm/scripts/notes ''
Installation Notes:
* If you wish to disable the project .rvmrc file functionality, set
rvm_project_rvmrc=0 in either /etc/rvmrc or ~/.rvmrc.
then log out and back in.
* after_use and after_cd hook now supports multiple files with after_*_*
the custom hooks can be easily turned on/off by:
chmod +x $rvm_path/hooks/after_cd_[hook_name]
chmod -x $rvm_path/hooks/after_use_[hook_name]
* If your shell exits on entering a directory with freshly checked out sources
you should update .rvmrc file, and replace any `exit ` with `return `.
* In case you have some old RVM files/rubies in '/usr/local/bin' or '$HOME/bin' feel free to remove them,
they were copied there because of bug in path detection.
* ZSH 4.3.15 is buggy, be careful with it, it can break RVM, especially multiuser installations,
You should consider downgrading ZSH to 4.3.12 which has proven to work more reliable with RVM.
* Optionally you can run \`rvm tools rvm-env ruby bash\` which will generate
shebang wrappers for easier selecting ruby in scripts.
* RVM comes with set of default gems including 'bundler', 'rake', 'rubygems-bundler' and 'rvm' gems,
if you do not wish to get this gems install RVM with this flag: --without-gems="rvm rubygems-bundler"
this option is remembered, it's enough to use it once.
* If you wish to get more default(global) gems installed, install RVM with this flag: --with-gems="pry vagrant"
this option is remembered, it's enough to use it once.
* Binary rubies are installed by default if available, you can read about it in help:
rvm help install
rvm help mount
* The default umask for multi-user installation got extended to `umask u=rwx,g=rwx,o=rx`,
comment it out to avoid automatic updates.
* If you encounter any issues with a ruby 'X' your best bet is to:
rvm get head && rvm reinstall X --debug
* RVM will run 'rvm requirements' by default, to disable run:
echo rvm_autolibs_flag=0 >> ~/.rvmrc
* RVM will set first installed ruby as default and use it if run as function.
To avoid this behavior either use full path to rvm binary or prefix it with `command `.
* To update RVM loading code run 'rvm get ... --auto-dotfiles'
* RVM will try automatically use available package manager, might require `sudo`,
read more about it in `rvm help autolibs`
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues run 'rvm requirements' or read 'rvm notes'
/christophrumpel1.rvm/scripts/cli:1170 rvm:343 current_result=0
/christophrumpel1.rvm/scripts/cli:1171 rvm:344 (( result ))
/christophrumpel1.rvm/scripts/cli:1171 rvm:344 cmdorresult=0
/christophrumpel1.rvm/scripts/cli:1173 rvm:346 (( result ))
/christophrumpel1.rvm/scripts/cli:1174 rvm:347 cmdor casecase notes (reinstall|try_install|install)
/christophrumpel1.rvm/scripts/cli:1186 rvm:359 current_result=0
/christophrumpel1.rvm/scripts/cli:1187 rvm:360 (( result ))
/christophrumpel1.rvm/scripts/cli:1187 rvm:360 cmdorresult=0
/christophrumpel1.rvm/scripts/cli:1189 rvm:362 typeset __local_rvm_trace_flag
/christophrumpel1.rvm/scripts/cli:1190 rvm:363 __local_rvm_trace_flag=1
/christophrumpel1.rvm/scripts/cli:1193 rvm:366 if[[ 0 -eq 1 ]]
/christophrumpel1.rvm/scripts/cli:1205 rvm:378 else__rvm_teardown
/christophrumpel1.rvm/scripts/functions/environment:250 __rvm_teardown:4 then__rvm_cleanup_tmp
/christophrumpel1.rvm/scripts/functions/cleanup:109 __rvm_cleanup_tmp:2 if[[ -d /christophrumpel1.rvm/tmp/ ]]
/christophrumpel1.rvm/scripts/functions/cleanup:111 __rvm_cleanup_tmp:4 then casecase /christophrumpel1.rvm/tmp (*tmp)
/christophrumpel1.rvm/scripts/functions/cleanup:113 __rvm_cleanup_tmp:6 then case__rvm_rm_rf '/christophrumpel1.rvm/tmp/11493*'
/christophrumpel1.rvm/scripts/functions/cleanup:6 __rvm_rm_rf:2 __rvm_rm_rf_verbose '/christophrumpel1.rvm/tmp/11493*'
/christophrumpel1.rvm/scripts/functions/cleanup:13 __rvm_rm_rf_verbose:2 typeset target
/christophrumpel1.rvm/scripts/functions/cleanup:14 __rvm_rm_rf_verbose:3 target='/christophrumpel1.rvm/tmp/11493*'
/christophrumpel1.rvm/scripts/functions/cleanup:18 __rvm_rm_rf_verbose:7 if[[ -n 4.3.11 ]]
/christophrumpel1.rvm/scripts/functions/cleanup:20 __rvm_rm_rf_verbose:9 thensetopt extendedglob
/christophrumpel1.rvm/scripts/functions/cleanup:28 __rvm_rm_rf_verbose:17 casecase /christophrumpel1.rvm/tmp/11493* (*(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))
/christophrumpel1.rvm/scripts/functions/cleanup:28 __rvm_rm_rf_verbose:17 casecase /christophrumpel1.rvm/tmp/11493* (*)
/christophrumpel1.rvm/scripts/functions/cleanup:34 __rvm_rm_rf_verbose:23 case[[ -n '/christophrumpel1.rvm/tmp/11493*' ]]
/christophrumpel1.rvm/scripts/functions/cleanup:40 __rvm_rm_rf_verbose:29 case if[[ -d '/christophrumpel1.rvm/tmp/11493*' ]]
/christophrumpel1.rvm/scripts/functions/cleanup:49 __rvm_rm_rf_verbose:38 case elif[[ -f '/christophrumpel1.rvm/tmp/11493*' || -L '/christophrumpel1.rvm/tmp/11493*' ]]
/christophrumpel1.rvm/scripts/functions/cleanup:58 __rvm_rm_rf_verbose:47 case elservm_debug '__rvm_rm_rf already gone: /christophrumpel1.rvm/tmp/11493*'
/christophrumpel1.rvm/scripts/functions/logging:93 rvm_debug:2 (( 0 ))
/christophrumpel1.rvm/scripts/functions/logging:93 rvm_debug:2 cmdorreturn 0
/christophrumpel1.rvm/scripts/functions/cleanup:59 __rvm_rm_rf_verbose:48 case elsereturn 0
/christophrumpel1.rvm/scripts/functions/cleanup:117 __rvm_cleanup_tmp:10 return 0
/christophrumpel1.rvm/scripts/functions/environment:253 __rvm_teardown:7 export __rvm_env_loaded
/christophrumpel1.rvm/scripts/functions/environment:255 __rvm_teardown:9 : __rvm_env_loaded:1:
/christophrumpel1.rvm/scripts/functions/environment:257 __rvm_teardown:11 : __rvm_env_loaded:1:
/christophrumpel1.rvm/scripts/functions/environment:259 __rvm_teardown:13 : __rvm_env_loaded:0:
/christophrumpel1.rvm/scripts/functions/environment:261 __rvm_teardown:15 if[[ -z /christophrumpel1.rvm/tmp ]]
/christophrumpel1.rvm/scripts/functions/environment:261 __rvm_teardown:15 if cmdor(( __rvm_env_loaded > 0 ))
/christophrumpel1.rvm/scripts/functions/environment:266 __rvm_teardown:20 if[[ -n '' ]]
/christophrumpel1.rvm/scripts/functions/environment:271 __rvm_teardown:25 if[[ -n 4.3.11 ]]
/christophrumpel1.rvm/scripts/functions/environment:274 __rvm_teardown:28 then(( rvm_zsh_clobber == 0 ))
/christophrumpel1.rvm/scripts/functions/environment:276 __rvm_teardown:30 then(( rvm_zsh_nomatch == 0 ))
/christophrumpel1.rvm/scripts/functions/environment:276 __rvm_teardown:30 then cmdorsetopt nomatch
/christophrumpel1.rvm/scripts/functions/environment:278 __rvm_teardown:32 thenunset rvm_zsh_clobber rvm_zsh_nomatch
/christophrumpel1.rvm/scripts/functions/environment:281 __rvm_teardown:35 if[[ -n 022 ]]
/christophrumpel1.rvm/scripts/functions/environment:283 __rvm_teardown:37 thenumask 022
/christophrumpel1.rvm/scripts/functions/environment:284 __rvm_teardown:38 thenunset rvm_stored_umask
/christophrumpel1.rvm/scripts/functions/environment:287 __rvm_teardown:41 if[[ '' == 1 ]]
/christophrumpel1.rvm/scripts/functions/environment:291 __rvm_teardown:45 __variables_definition unset
/christophrumpel1.rvm/scripts/functions/environment:162 __variables_definition:2 typeset -a __variables_list __array_list
/christophrumpel1.rvm/scripts/functions/environment:163 __variables_definition:3 typeset __method
/christophrumpel1.rvm/scripts/functions/environment:165 __variables_definition:5 __method=unset
/christophrumpel1.rvm/scripts/functions/environment:169 __variables_definition:9 __variables_list=( 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 rvm_skip_openssl_flag 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 rvm_stored_errexit 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 __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_with_gems rvm_without_gems rvm_ignore_dotfiles_flag rvm_latest_binary_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag )
/christophrumpel1.rvm/scripts/functions/environment:195 __variables_definition:35 __array_list=( rvm_patch_names rvm_ree_options rvm_autoconf_flags )
/christophrumpel1.rvm/scripts/functions/environment:199 __variables_definition:39 casecase unset (export)
/christophrumpel1.rvm/scripts/functions/environment:199 __variables_definition:39 casecase unset (unset)
/christophrumpel1.rvm/scripts/functions/environment:201 __variables_definition:41 caseunset rvm_patch_names rvm_ree_options rvm_autoconf_flags
/christophrumpel1.rvm/scripts/functions/environment:208 __variables_definition:48 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 rvm_skip_openssl_flag 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 rvm_stored_errexit 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 __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_with_gems rvm_without_gems rvm_ignore_dotfiles_flag rvm_latest_binary_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag
/christophrumpel1.rvm/scripts/functions/environment:298 __rvm_teardown:52 return 0
/christophrumpel1.rvm/scripts/cli:1208 rvm:381 if(( __local_rvm_trace_flag > 0 ))
/christophrumpel1.rvm/scripts/cli:1210 rvm:383 thenset +o verbose
/christophrumpel1.rvm/scripts/cli:1211 rvm:384 thenset +o xtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment