[framework] error in shebang line of example scripts in ruby-pcapx

Ronald L. Rosson Jr. ron at oneinsane.net
Sun Jun 3 05:37:04 CDT 2007


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.




More information about the framework mailing list