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.