Skip to content

Instantly share code, notes, and snippets.

@DanielHeath
Created December 5, 2011 00:12
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 DanielHeath/1431744 to your computer and use it in GitHub Desktop.
Save DanielHeath/1431744 to your computer and use it in GitHub Desktop.
Failure to recognise git on fresh lion install
babushka {
 (defining babushka against Babushka::Dep::BaseTemplate)
$ uname -s
Darwin
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.2
BuildVersion: 11C74
setup not defined.
up to date.babushka {
 (defining up to date.babushka against babushka)
setup not defined.
repo clean.babushka {
 (defining repo clean.babushka against babushka)
setup not defined.
installed.babushka {
 (defining installed.babushka against babushka)
Where would you like babushka installed [/usr/local/babushka] ruby {
 (defining ruby against Babushka::Dep::BaseTemplate)
setup not defined.
'ruby' & 'irb' run from /usr/bin.
$ ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
✓ ruby is 1.8.7, which is >= 1.8.6.
} ✓ ruby
git {
 (defining git against Babushka::Dep::BaseTemplate)
setup not defined.
git.installer {
 (defining git.installer against installer)
setup not defined.
'git' runs from /usr/bin.
$ git --version
git version 1.7.5.4
git is , which isn't >= 1.7.7.
meet {
 before not defined.
in dir /Users/danielheath/.babushka/downloads (/Users/danielheath/.babushka/downloads) {
 ✓ Already downloaded git-1.7.7-intel-universal-snow-leopard.dmg.
}
in dir /Users/danielheath/.babushka/build (/Users/danielheath/.babushka/build) {
 in dir /Users/danielheath/.babushka/downloads (/Users/danielheath/.babushka/downloads) {
 Attaching git-1.7.7-intel-universal-snow-leopard.dmg... $ hdiutil attach 'git-1.7.7-intel-universal-snow-leopard.dmg'
expected CRC32 $DE7406D4
/dev/disk1 Apple_partition_scheme
/dev/disk1s1 Apple_partition_map
/dev/disk1s2 Apple_HFS /Volumes/Git 1.7.7 Snow Leopard Intel Universal
done.
in dir /Volumes/Git 1.7.7 Snow Leopard Intel Universal (/Volumes/Git 1.7.7 Snow Leopard Intel Universal) {
 Installing git-1.7.7-intel-universal-snow-leopard.pkg... $ sudo -u root installer -target / -pkg 'git-1.7.7-intel-universal-snow-leopard.pkg'
installer: Package name is Git 1.7.7
installer: Upgrading at base path /
installer: The upgrade was successful.
done.
}
Detaching git-1.7.7-intel-universal-snow-leopard.dmg... $ hdiutil detach '/Volumes/Git 1.7.7 Snow Leopard Intel Universal'
"disk1" unmounted.
"disk1" ejected.
done.
}
}
in dir /usr/local/bin (/usr/local/bin) {
 $ sudo -u root ln -sf /usr/local/git/bin/git* .
}
}
'git' runs from /usr/bin.
$ git --version
git version 1.7.5.4
git is , which isn't >= 1.7.7.
} ✗ git.installer
} ✗ git
} ✗ installed.babushka
} ✗ repo clean.babushka
} ✗ up to date.babushka
} ✗ babushka
in dir /Users/danielheath/.babushka/vars (/Users/danielheath/.babushka/vars) {
Saving /Users/danielheath/.babushka/vars/babushka
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment