Skip to content

Instantly share code, notes, and snippets.

@scottlowe
Created January 7, 2011 13:39
Show Gist options
  • Save scottlowe/769460 to your computer and use it in GitHub Desktop.
Save scottlowe/769460 to your computer and use it in GitHub Desktop.
jruby-head - #fetching
++[/Users/scott/.rvm/scripts/manage] : 1281 : __rvm_fetch_ruby() $ [[ 1 -eq 0 ]]
++[/Users/scott/.rvm/scripts/manage] : 1400 : __rvm_fetch_ruby() $ mkdir -p /Users/scott/.rvm/repos
++[/Users/scott/.rvm/scripts/manage] : 1402 : __rvm_fetch_ruby() $ [[ -z git://github.com/jruby/jruby.git ]]
++[/Users/scott/.rvm/scripts/manage] : 1406 : __rvm_fetch_ruby() $ echo git://github.com/jruby/jruby.git
++[/Users/scott/.rvm/scripts/manage] : 1406 : __rvm_fetch_ruby() $ grep -q git
++[/Users/scott/.rvm/scripts/manage] : 1409 : __rvm_fetch_ruby() $ [[ -z '' ]]
++[/Users/scott/.rvm/scripts/manage] : 1411 : __rvm_fetch_ruby() $ [[ -n head ]]
++[/Users/scott/.rvm/scripts/manage] : 1413 : __rvm_fetch_ruby() $ [[ -n head ]]
++[/Users/scott/.rvm/scripts/manage] : 1414 : __rvm_fetch_ruby() $ rvm_ruby_repo_branch=ruby_1_head_head
++[/Users/scott/.rvm/scripts/manage] : 1428 : __rvm_fetch_ruby() $ [[ ! -d /Users/scott/.rvm/repos/jruby-head/.git ]]
++[/Users/scott/.rvm/scripts/manage] : 1461 : __rvm_fetch_ruby() $ remote=origin
++[/Users/scott/.rvm/scripts/manage] : 1463 : __rvm_fetch_ruby() $ cd /Users/scott/.rvm/repos/jruby-head
++[/Users/scott/.rvm/scripts/manage] : 1465 : __rvm_fetch_ruby() $ git branch
++[/Users/scott/.rvm/scripts/manage] : 1465 : __rvm_fetch_ruby() $ grep '^*'
++[/Users/scott/.rvm/scripts/manage] : 1465 : __rvm_fetch_ruby() $ grep -q ruby_1_head_head
++[/Users/scott/.rvm/scripts/manage] : 1468 : __rvm_fetch_ruby() $ git branch
++[/Users/scott/.rvm/scripts/manage] : 1468 : __rvm_fetch_ruby() $ grep -q '^ ruby_1_head_head'
++[/Users/scott/.rvm/scripts/manage] : 1470 : __rvm_fetch_ruby() $ git checkout ruby_1_head_head
error: pathspec 'ruby_1_head_head' did not match any file(s) known to git.
++[/Users/scott/.rvm/scripts/manage] : 1471 : __rvm_fetch_ruby() $ git pull origin ruby_1_head_head
fatal: Couldn't find remote ref ruby_1_head_head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment