 # -S     Makes  Ruby  use  the PATH environment variable to search
 #        for script, unless its name begins with a slash.  This is
 #        used to emulate #! on machines that don’t support it,  in
 #        the following manner:

#! /usr/local/bin/ruby
# This line makes the next one a comment in Ruby \
  exec /usr/local/bin/ruby -S $0 $*

#         On some systems $0 does not always contain the full path-
#         name,  so  you  need the -S switch to tell Ruby to search
#         for the script if necessary (to  handle  embedded  spaces
#         and   such).    A  better  construct  than  $*  would  be
#         ${1+"$@"}, but it does not work if the  script  is  being
#         interpreted by csh(1).
