Actually its not wrong. What it does is explicitly state which ruby
interpreter to use rather than using env to determine by finding the first
one in the path. His way in no way shape or form is wrong provided that
ruby actually lives there.

Your way is the more common way but that doesn't make it the defacto Right
Way(TM)
On Apr 5, 2013 3:56 PM, "Hans Mackowiak" <lists / ruby-forum.com> wrote:

> Carlo E. Prelz wrote in post #1104616:
> > Subject: How do you know what the main file in Ruby Projects is?
> >   Date: sab 06 apr 13 03:30:06 +0900
> >
> > If you don't actually run the interpreter yourself, chances are you
> > run a script that is made executable, and where the first line is
> > something like:
> >
> > #!/usr/bin/ruby
> >
>
> this line is wrong, use
> #!/usr/bin/env ruby
>
> --
> Posted via http://www.ruby-forum.com/.
>
>