Skip to content

Instantly share code, notes, and snippets.

@LoonyPandora
Created January 27, 2012 23:41
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 LoonyPandora/1691612 to your computer and use it in GitHub Desktop.
Save LoonyPandora/1691612 to your computer and use it in GitHub Desktop.
Gitbox Error
/Users/james/Library/Application Support/Gitbox/git-1.7.7.rc3.7.g26c6e2/git.bundle/libexec/git-core/git-sh-setup: line 77: sed: command not found
/Users/james/Library/Application Support/Gitbox/git-1.7.7.rc3.7.g26c6e2/git.bundle/libexec/git-core/git-sh-setup: line 77: basename: command not found
/Users/james/Library/Application Support/Gitbox/git-1.7.7.rc3.7.g26c6e2/git.bundle/libexec/git-core/git-sh-setup: line 241: uname: command not found
/Users/james/Library/Application Support/Gitbox/git-1.7.7.rc3.7.g26c6e2/git.bundle/libexec/git-core/git-pull: line 236: sed: command not found
/Users/james/Library/Application Support/Gitbox/git-1.7.7.rc3.7.g26c6e2/git.bundle/libexec/git-core/git-pull: line 236: tr: command not found
Fetching tags only, you probably meant:
git fetch --tags
Repository: /Users/james/Sites/Dancer
@LoonyPandora
Copy link
Author

Error resolved! There were other issues on my system, mainly my $PATH being borked. It looked like this:

/usr/local/perlbrew/bin:/usr/local/perlbrew/perls/perl-5.14.1/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/MacGPG2/bin:���:/Users/james/.homebrew/bin:/Users/james/.homebrew/sbin

This was caused by a line in my ~/.MacOSX/environment.plist which was editing my $PATH at system startup / user login - and NOT when a new shell was opened. My ~/.MacOSX/environment.plist looked like this:

{ PATH = "â\x80\x9C\x80\x9D"; }

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