Metasploit mailing list archives

error in shebang line of example scripts in ruby-pcapx


From: ron at oneinsane.net (Ronald L. Rosson Jr.)
Date: Sun, 3 Jun 2007 05:37:04 -0500

But if you use the #!/usr/bin/env ruby it will have a higher  
probability of working with more OS's and their installation of ruby,  
ie...
        FreeBSD:        /usr/local/bin/ruby
        OpenBSD:        /usr/local/bin/ruby
        Linux:          /usr/bin/ruby
        OSX:            /usr/bin/ruby
                        /opt/local/bin/ruby (MacPorts)
                        /sw/bin/ruby (Fink)

-Ron

On Jun 1, 2007, at 9:51 PM, sai 438 wrote:

it could be that one or #!/usr/bin/ruby will also do the work

On 6/2/07, Ronald L. Rosson Jr. <ron at oneinsane.net> wrote:


On Jun 1, 2007, at 12:26 PM, Ronald L. Rosson Jr. wrote:


On Jun 1, 2007, at 4:17 AM, M.P.Sairam wrote:

There is an shebang line error in example scripts in external/ 
ruby-
pcapx/examples directory where it is showing the path of
#!/usr/local/bin/ruby but it is #!/usr/bin/ruby. so, can any one
update it in msf tree?


Should that line be:

#/usr/bin/env ruby


I mean:

#!/usr/bin/env ruby




-- 
Thanks,
 ---
Sairam.




Current thread: