Skip to content

Instantly share code, notes, and snippets.

@merbjedi
Created March 3, 2010 03:13
Show Gist options
  • Save merbjedi/320268 to your computer and use it in GitHub Desktop.
Save merbjedi/320268 to your computer and use it in GitHub Desktop.
[jc@macbookpro ~]# rvm --trace gemset use blah3
--trace gemset use blah3
rvm 0.1.20 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 3 -gt 0 ]]
+ rvm_token=gemset
+ shift
+ case "$rvm_token" in
+ rvm_action=gemset
+ [[ clear = \u\s\e ]]
+ [[ use = \u\s\e ]]
+ rvm_use_flag=1
+ rvm_ruby_args='use blah3'
+ shift
+ rvm_gemset_name=blah3
+ shift
++ echo blah3
++ grep %
+ [[ -z '' ]]
++ echo blah3
++ sed 's/\(.*\)%.*/\1/'
+ rvm_ruby_string=blah3
++ echo blah3
++ sed 's/.*%\(.*\)/\1/'
+ rvm_gemset_name=blah3
+ export rvm_use_flag rvm_ruby_args
+ [[ blah3 != \b\l\a\h\3 ]]
+ unset rvm_ruby_string
+ [[ ! -z blah3 ]]
+ export rvm_gemset_name
+ [[ -z gemset ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
+ [[ 0 -gt 0 ]]
+ [[ ! -z '' ]]
+ result=0
+ case "$rvm_action" in
+ [[ 1 -eq 1 ]]
+ __rvm_gemset_select
+ which gem
+ rvm_ruby_global_gems_path=/Users/jc/.rvm/gems/%global
+ [[ -z blah3 ]]
++ echo
++ grep %
+ [[ ! -z '' ]]
+ [[ ! -d '' ]]
+ [[ ! -z blah3 ]]
+ [[ '' -ne 1 ]]
+ [[ '' -ne 1 ]]
+ /Users/jc/.rvm/scripts/log error 'Gemset '\''blah3'\'' does not exist, rvm gemset create '\''blah3'\'' first.'
Gemset 'blah3' does not exist, rvm gemset create 'blah3' first.
+ return 1
+ result=1
+ [[ 1 -eq 0 ]]
+ result=0
+ [[ ! -z '' ]]
+ [[ ! -z 1 ]]
+ set +x
[jc@macbookpro ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment