[TxMt] change default ruby
Jeroen van der Ham
jeroen at je-ju.net
Tue Jan 10 16:30:53 UTC 2006
Sune Foldager wrote:
> On 10/01/2006, at 13:22, Yvon Thoraval wrote:
>
>> Hey all,
>> i'm new to TextMate and i wonder if it's possible to change the
>> default ruby used
>
> The easiest is setting a TM environment variable, Preferences ->
> Advanced -> Shell Variable. Add one called TM_RUBY containing the full
> path to your interpreter. Although the default starts ruby as simply
> 'ruby' in which case it really should use your PATH. Seems weird.
Why are the scripts setup in this way? Wouldn't it be more transparent
to call "/usr/bin/env ruby" and just follow what the user has configured?
Jeroen.
More information about the textmate
mailing list