Le 7 avr. 07 à 12:40, Allan Odgaard a écrit :


If you need it to use a custom installed version the only proper way is really to setup your PATH to point at the custom version before the standard version: http://macromates.com/textmate/manual/shell_commands#search_path



thanks for the link however i do have a :

~/.MacOSX/environment.plist  having :

[...]
        <key>PATH</key>
        <string>/Users/yt/SVN/WebKit/WebKitTools/Scripts:/Users/yt/bin/ant/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/Users/yt/bin:/Developer/Tools:/System/Library/Frameworks/Python.framework/Versions/2.3/bin</string>
[...]

(bottom of given link)

in fact my "~/.MacOSX/environment.plist" is a translation of my zsh setup...

and i usually use shebang like that :

#! /usr/bin/env ruby -wx

(for all kind of shell)

nevertheless, ill try-out the .bash_profile given.

best,

Yvon