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.