Re: [PATCH] instaweb: support for Ruby's WEBrick server
- From
Thomas Adam <thomas.adam22@gmail.com>
- Date
- Sep 17, 2007, 12:02 UTC
- Message-ID
- <18071eea0709170502s397331c5j7d77aa9531f73704@mail.gmail.com>
- In-Reply-To
- <20070917115518.GA26815@soma>
On 17/09/2007, Eric Wong <normalperson@yhbt.net> wrote:
> Could we make the shebang dynamic? (capturing the output of `which ruby` > maybe, or just breaking down and using /usr/bin/env ruby). The ruby > binary seems to appear all over the place on the filesystem from my > experience, especially with its popularity amongst OSX users.
This is what /usr/bin/env is useful for, but it's not that portable.
-- Thomas Adam