<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>Le 10 janv. 06 à 17:30, Jeroen van der Ham a écrit :</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Monaco" size="3" style="font: 12.0px Monaco">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?</FONT></P> </BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV>if i launch a simple script as :<DIV><BR class="khtml-block-placeholder"></DIV><DIV>------------script.rb</DIV><DIV>#!/usr/bin/env ruby -w</DIV><DIV>puts $0</DIV><DIV>------------end</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>launched from TextMate :</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(231, 241, 255); "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;">/Library/Application Support/TextMate/Bundles/Ruby.tmbundle/Support/tmruby.rb</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(231, 241, 255); "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(231, 241, 255); "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;">from Terminal :</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(231, 241, 255); ">script.rb<FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(231, 241, 255); "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(231, 241, 255); ">however it is in this directory :</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 16px; background-color: rgb(231, 241, 255); "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;">/Users/yvon/work/Ruby/examples</SPAN></FONT></DIV><DIV><BR><DIV> <DIV>Yvon</DIV><DIV><BR class="khtml-block-placeholder"></DIV> </DIV><BR></DIV></BODY></HTML>