On Tue, Sep 21, 2004 at 11:45:05PM +0900, Ara.T.Howard / noaa.gov wrote:
> >It has been doing shebang correction since mmm the beginning of time :-)
> 
> i know it's supposed to - but i can't seem to make it:
[...]
>   jib:~/eg/ruby/tmp > cat /home/ahoward/bin/a.rb
>   #!/usr/bin/env ruby

From setup.rb:

  # modify: #!/usr/bin/ruby
  # modify: #! /usr/bin/ruby
  # modify: #!ruby
  # not modify: #!/usr/bin/env ruby

> that being said, setup.rb is about a million times better than install.rb; 
> if
> i can figure out the shebang problem i will probably migrate too.

It works that way by design, but you could try to convince Minero Aoki
to change it, or just modify the associated regexp yourself:

  SHEBANG_RE = /\A\#!\s*\S*ruby\S*/


-- 
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com