On Thu, Feb 01, 2007 at 02:20:38AM +0900, Rob Sanheim wrote:
> Ugh, so I need that at the top of all these scripts?  I thought
> /usr/bin/env was the 'better' way to go?

This issue has come up before (see [ruby-talk:27508]).  However, Austin
Ziegler pointed out in [ruby-talk:56340] that the sh/exec solution won't
work on non-Unix environments.  See also 'perldoc perlrun' for more
discussion on the issue (ruby takes much of its behavior from perl in
this case).

Paul