On 28 Nov 2008, at 13:52, Vahagn Hayrapetyan wrote:

>
> Sorry, but something seems to be wrong here. I've added the path, so  
> now
> I have:
>
> $ cat .bash_login
> PATH="/usr/local/git/bin:/usr/local/git:${PATH}"
> export PATH
>
What does echo $PATH
output?
Personally I can never remember the difference  
between .bash_login, .bash_profile, .bash_rc etc...
In 10.5 at least there is another mechanism:
if you create a file in /etc/paths.d containing the path you want then  
that will be added to the search list.

Fred


> Also git is there:
>
> $ ls /usr/local/git/bin/
> git      git-shell    gitk
> git-cvsserver    git-upload-archive
> git-receive-pack  git-upload-pack
>
> But $ which git just gives a blank new line! I've tried restarting the
> Mac, but nothing.
>
> Really mystified here, any help help appreciated!
>
> / Vahagn
>
> Vahagn Hayrapetyan wrote:
>> Thanks a lot! Will give it a try.
>>
>> All the best, Vahagn
>>
>> Peter De Berdt wrote:
>>> On 28 Nov 2008, at 14:07, Vahagn Hayrapetyan wrote:
>>>
>>>> I had actually installed Git using this package:
>>>> http://code.google.com/p/git-osx-installer/
>>>>
>>>> but maybe it is not the newest version?
>>>
>>> Then it might just be that /usr/local/git is not in your path.
>>>
>>> In the terminal, do:
>>> which git
>>>
>>> If git can be found, it will say something like: /usr/local/git/ 
>>> bin/git
>>> If nothing is returned, it doesn't find the git application. If so,
>>> add this to your ~/.bash_login file (if it doesn't exist, create  
>>> it):
>>>
>>> PATH="/usr/local/git/bin:/usr/local/git:${PATH}"
>>> export PATH
>>>
>>> Then close the terminal session and start a new one.
>>>
>>> Best regards
>>>
>>> Peter De Berdt
>
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to