On the command line, 'which git' returns '/usr/local/git/bin/git' So I put that in the TM_GIT Shell Variables list. But now when I try to use the bundle it keeps giving me this error: sh: line 3: /usr/local/git/bin/git : No such file or directory
What could I be doing wrong? Thanks!
On Fri, Feb 5, 2010 at 9:12 PM, Mac Martine 99miles@gmail.com wrote:
On the command line, 'which git' returns '/usr/local/git/bin/git' So I put that in the TM_GIT Shell Variables list. But now when I try to use the bundle it keeps giving me this error: sh: line 3: /usr/local/git/bin/git : No such file or directory
What could I be doing wrong? Thanks!
Would be possible to use the following within your configuration?
#! /usr/bin/env git
Next, usually commands get installed in one of the following locations depending on your platform:
/usr/bin /usr/local/bin /usr/sbin /usr/local/sbin
The location of git on your system seems a bit odd. However, you should be able to easily remedy the situation by adding the following to your PATH environment variable:
/usr/local/git/bin
Good luck,
-Conrad
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Thanks, Conrad. I added '/usr/local/git/bin' to by that and it's still not working. So weird. echo $PATH shows that the git path is now listed. I'm getting the same error.
I copy and pasted the exact path that the error returns ( '/usr/local/git/bin/git' ) and pasted it in terminal and it returns the help info for git. So it's there, and TextMate appears to have the path correct, but it's just not finding it.
Sorry, I'm not sure how to use '#! /usr/bin/env git', in your first suggestion.
-Mac
On Feb 5, 2010, at 6:40 PM, Conrad Taylor wrote:
On Fri, Feb 5, 2010 at 9:12 PM, Mac Martine 99miles@gmail.com wrote: On the command line, 'which git' returns '/usr/local/git/bin/git' So I put that in the TM_GIT Shell Variables list. But now when I try to use the bundle it keeps giving me this error: sh: line 3: /usr/local/git/bin/git : No such file or directory
What could I be doing wrong? Thanks!
Would be possible to use the following within your configuration?
#! /usr/bin/env git
Next, usually commands get installed in one of the following locations depending on your platform:
/usr/bin /usr/local/bin /usr/sbin /usr/local/sbin
The location of git on your system seems a bit odd. However, you should be able to easily remedy the situation by adding the following to your PATH environment variable:
/usr/local/git/bin
Good luck,
-Conrad
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Feb 6, 2010, at 11:54 AM, Mac Martine wrote:
echo $PATH shows that the git path is now listed.
Are you running this in Terminal or in TextMate?
What do you see if you type `echo $PATH` on a line by itself in a TextMate document and hit ⌃R?
In any case, the path shouldn’t matter if you’re explicitly setting TM_GIT to the full path of the executable (unless the commands in question don’t ever use TM_GIT).
it includes '/usr/local/git/bin' man, this is driving me crazy!
On Feb 6, 2010, at 5:56 PM, Rob McBroom wrote:
On Feb 6, 2010, at 11:54 AM, Mac Martine wrote:
echo $PATH shows that the git path is now listed.
Are you running this in Terminal or in TextMate?
What do you see if you type `echo $PATH` on a line by itself in a TextMate document and hit ⌃R?
In any case, the path shouldn’t matter if you’re explicitly setting TM_GIT to the full path of the executable (unless the commands in question don’t ever use TM_GIT).
-- Rob McBroom http://www.skurfer.com/
Don't try to tell me a thing is important to you if the whole of your “support” entails forcing others to spend time and money on it.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate