Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Created March 17, 2011 22:43
Show Gist options
  • Save ivanoats/875289 to your computer and use it in GitHub Desktop.
Save ivanoats/875289 to your computer and use it in GitHub Desktop.
rvm debugging. why is it not trusting my .rvmrc 's
ivan:~/Development/ruby/clients/cadvbe/cadvbesearch [git:master?] → set -x ; cd ~/Development/ruby/clients/cadvbe/cadvbesearch ;type rvm | head -1
+ set -x
+ cd /Users/ivan/Development/ruby/clients/cadvbe/cadvbesearch
+ builtin cd /Users/ivan/Development/ruby/clients/cadvbe/cadvbesearch
+ local result=0
+ __rvm_project_rvmrc
+ local cwd
+ cwd=/Users/ivan/Development/ruby/clients/cadvbe/cadvbesearch
+ :
+ [[ -z /Users/ivan/Development/ruby/clients/cadvbe/cadvbesearch ]]
+ [[ /Users/ivan = \/\U\s\e\r\s\/\i\v\a\n\/\D\e\v\e\l\o\p\m\e\n\t\/\r\u\b\y\/\c\l\i\e\n\t\s\/\c\a\d\v\b\e\/\c\a\d\v\b\e\s\e\a\r\c\h ]]
+ [[ / = \/\U\s\e\r\s\/\i\v\a\n\/\D\e\v\e\l\o\p\m\e\n\t\/\r\u\b\y\/\c\l\i\e\n\t\s\/\c\a\d\v\b\e\/\c\a\d\v\b\e\s\e\a\r\c\h ]]
+ [[ -f /Users/ivan/Development/ruby/clients/cadvbe/cadvbesearch/.rvmrc ]]
+ [[ /Users/ivan/Development/ruby/clients/cadvbe/cadvbesearch != \/\U\s\e\r\s\/\i\v\a\n\/\D\e\v\e\l\o\p\m\e\n\t\/\r\u\b\y\/\c\l\i\e\n\t\s\/\c\a\d\v\b\e\/\c\a\d\v\b\e\s\e\a\r\c\h ]]
+ break
+ return 0
+ true /Users/ivan/.rvm/scripts
+ rvm_hook=after_cd
+ source /Users/ivan/.rvm/scripts/hook
++ declare rvm_verbose_flag=0
++ declare rvm_hook=after_cd
++ [[ -n after_cd ]]
++ [[ -s /Users/ivan/.rvm/help/after_cd ]]
++ unset rvm_hook
+ return 0
+ type rvm
+ head -1
rvm is a function
++ history -a
++ echo -ne '\033]0;ivan@leaf: ~/Development/ruby/clients/cadvbe/cadvbesearch\007'
++ vcprompt
@ivanoats
Copy link
Author

rvm ruby-1.8.7-p302@cadvbe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment