On Feb 2, 2008 11:57 AM, Christian Roese <croese / gmail.com> wrote:
> Does anyone know why I can type this at the cmd line:
>
> /usr/bin/env ruby -w
>
> and get the correct functionality, but if I use this line in the shebang
> line of my .rb files, I get an error from env stating that "ruby -w can't be
> found"?  If I change the line to use just ruby (without the -w option), it
> works perfectly.  I've seen plenty of programs scattered around the net that
> use that same line in a shebang line so I know it should work.
>
> Any help would be greatly appreciated!
>
> --
> Christian Roese

http://en.wikipedia.org/wiki/Shebang_(Unix)#Portability

Daniel Brumbaugh Keeney