[TxMt] Re: TextMate and Ruby version
James Edward Gray II
james at grayproductions.net
Sat Apr 7 15:37:17 UTC 2007
On Apr 7, 2007, at 10:32 AM, Patrick Gundlach wrote:
> Hello TextMate users,
>
>>> and i usually use shebang like that :
>>>
>>> #! /usr/bin/env ruby -wx
>>
>> Just FYI, it makes no sense to pass Ruby's -x switch in a shebang
>> line.
>
> It might not always be the best idea to pass any arguments at all in
> the shebang line, not ever operating system can handle this.
That's true if you use the env trick. I'm pretty sure it is cross-
platform portable if you hardcode the path though, as Ruby parses the
options itself.
James Edward Gray II
More information about the textmate
mailing list