[TxMt] Re: git not found

Melissa Chase mpchase at mac.com
Thu Dec 30 03:11:38 UTC 2010


Lewis,

What I posted originally had a typo. In bash you set variables using "=", so the line should be

export TM_GIT=/usr/local/git/bin/git

Penny


On Dec 29, 2010, at 8:50 PM, Lewis Overton wrote:

> I'm using GetBundles to update bundles. It has worked fine until recently.
> TextMate is Version 1.5.10 (1623) Build 10H574
> OS X 10.6.5  МаcBоок 2.4 GHz Intel Core 2 Duo
> 
> 
> Here's the log excerpt:
> 
> 12/29/2010 16:34:54	TextMate[GetBundles]
> GetBundles – version 1.2 – Hans-Jörg Bibiko - bibiko at eva.mpg.de
> 
> 
> 12/29/2010 16:34:54	TextMate[GetBundles]
> GetBundles' DIALOG runs at token 1
> 
> sh: git: command not found
> 
> 12/29/2010 16:35:05	TextMate[GetBundles]
> Cache File lists 967 bundles. Last modified date: Wed Dec 29 11:00:01 UTC 2010
> 
> From .bash_profile
> export TM_GIT /usr/local/git/bin/git
> 
> And the directory, with a print of the version:
>  bash-$ cd /usr/local/git/bin/
>  bash-$ pwd
> /usr/local/git/bin
>  bash-$ ls
> git                git-cvsserver      git-receive-pack   git-shell          git-upload-archive git-upload-pack    gitk
>  bash-$ 
>  bash-$ git --version
> git version 1.7.3.1
>  bash-$ 
> 
> On Thu, Dec 23, 2010 at 4:26 AM, Melissa Chase <mpchase at mac.com> wrote:
> The bundle updater uses the environmental variable TM_GIT, not the path, to determine the location of git. You should set it in.bash_profile to the location of git (check it with "which git" in the terminal). IFor example, if git was installed in the usual place, you'd put this line in your .bash_profile file:
> 
> export TM_GIT /usr/local/git/bin/git
> 
> 
> Penny
> 
> 
> On Dec 22, 2010, at 3:39 AM, Lewis Overton wrote:
> 
>> A recent attempt to update bundles returned 
>> 
>> "sh: git: command not found"
>> 
>> But in terminal, I see
>> 
>>  bash-$ git --version
>> git version 1.7.3.1
>> 
>> which is something new. What's happening?
>> 
>> I'm running TM Version 1.5.10 (1623)
>> Model Identifier:	MacBook5,1
>> 
>>   Processor Name:	Intel Core 2 Duo
>> 
>>   Processor Speed:	2.4 GHz
>> 
>> with OS X 10.6.5
>> 
>> 
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20101229/3e7b1afc/attachment.html>


More information about the textmate mailing list