[TxMt] Re: LaTeX and require_cmd.rb

Allan Odgaard mailinglist at textmate.org
Sat Dec 6 11:33:55 UTC 2008


On 1 Dec 2008, at 16:04, Alain Matthes wrote:

> [...] this idea
>
> ENV['PATH'] = %x{sh -c '. "$BASH_ENV"; echo $PATH'}
>
> I put this line in the file require_cmd.rb and with this line, I can
> compile without setting the PATH in the Shell Variables.
>
> I would like to know if this idea is fine or if it' dangerous ...

It is unreliable and may just as well break things.

Current edge release should have a good fix for PATH and “getting it  
from Terminal” when the required command is not found.




More information about the textmate mailing list