here some info I found��

http://serverfault.com/questions/16355/how-to-set-global-path-on-os-x

On Wed, Feb 4, 2015 at 12:28 AM, Manfred Kr��hnert <mkroehnert42@googlemail.com> wrote:
Hi,

On Tue, Feb 3, 2015 at 4:21 PM, Peter Uhn��k <i.uhnak@gmail.com> wrote:
Hi,

Both .bashrc and .bash_profile are directly bound to shell (bash shell) so this will not help. I do not know MacOS, so I'm not sure if there is some GUI configuration like in MS Windows, so someone else might clarify.

another possibility on OS X is to put the correct path in .bashrc and then start Pharo from a Terminal via the command 'open Pharo.app'.
Adjust Pharo.app to the name of the Pharo application bundle on your machine.
This is not a perfect solution but it works.

There is also a special file on OS X where you supposedly can add things like a $PATH variable for graphical programs.
Unfortunately I don't remember the name of that file.

Best,
Manfred

��
In the meantime there is also an alternative way - create a custom launcher where you set the path explicitly... i.e. PATH=$PATH:/usr/local/bin ./pharo pharo.image (or however you start your pharo instance).

Peter

On Tue, Feb 3, 2015 at 4:08 PM, Christophe Demarey <Christophe.Demarey@inria.fr> wrote:
Hi,

I wanted to give a try to gitfiletree but I got a 'Git command not found'.
Indeed, the git command is not in the path Here is the code used by GitFileTree to run a git command:

�� �� �� �� | c output |
�� �� �� �� [
�� �� �� �� c := PipeableOSProcess
�� �� �� �� �� �� �� �� command: 'export'.
�� �� �� �� output := ReadStream on: c output.
�� �� �� �� c succeeded
�� �� �� �� �� �� �� �� ifFalse: [ self error: 'Git error: ' , c errorPipelineContents ] ]
�� �� �� �� �� �� �� �� ensure: [ c closePipes ].
�� �� �� �� output

I replaced the command to execute by 'export' to get all environment variables. I noticed that '/usr/local/bin' is not in the path (used by brew).


To get my full environment (.profile executed), I need to run pharo from a shell with the same environment. The question is: how to run Pharo from the UI and get this environment?
I tried with a .bashrc, bash_profile without success.
Any idea?

Thanks,
Christophe.