Chris Morris wrote:
> 
> I've got a ruby cgi script that I'd like to distribute (Linux & Windows).
> Apache uses the shebang (#!) to locate the executing program ... this needs
> to be configured for each install. Is there an easy, elegant way of handling
> this?

On Linux, you can try:

	#!/usr/bin/env ruby

Dunno if that will work on Windows, though.  How do Perl scripts run?

(I've also noticed that 'env' lives in /bin on some Unixes and Linuxes. 
So much for portability.)

-- 
Frank Mitchell (frankm / bayarea.net)