From: Mark Probert Date: 2005-05-30T23:59:30+09:00 Subject: Re: How to find ruby? Hi .. On Monday 30 May 2005 00:06, nobuyoshi nakada wrote: > > Use: > > > > #!/path/to/env ruby > > And a problem with this shebang line is you can't put any options to > ruby there (except for *BSD, perhaps). Many thanks to all. It seems that I can get away with '/usr/bin/env ruby [opts]' as most of my scripts run under Solaris or BSD clones (which support the syntax). I need to look into James' comment re cron on these platforms to double check on whether I need to go the substitution route. -- -mark. (probertm at acm dot org)