From: Jim Freeze Date: 2003-09-24T09:04:55+09:00 Subject: Re: Article on oreilly.net on how to build Unix tools with Ruby On Wednesday, 24 September 2003 at 8:24:36 +0900, Michael W Thelen wrote: > * Gavin Sinclair [2003-09-23 17:16]: > > On Wednesday, September 24, 2003, 2:33:01 AM, Paul wrote: > > > 3. I wish he'd mentioned the option of using #!/usr/bin/env ruby > > > instead of #!/usr/local/bin/ruby. > > > > Can someone please explain to me what /usr/bin/env/ruby does? Speaking of env, does this work on linux when options are passed to ruby? I'm not at a linux terminal right now, but when the shebang is: /usr/bin/env ruby -w I get the error that ruby -w is not found. The gnu manual says that it should work, but it certainly doesn't work as it does on FreeBSD or Sun. The distro is RH 7.3. -- Jim Freeze ---------- Adore, v.: To venerate expectantly. -- Ambrose Bierce, "The Devil's Dictionary"