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.

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 <
[email protected]> 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.

Reply via email to