From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from juno.localdomain ([141.84.9.6]) by mx.google.com with ESMTPS id y8sm20397130faj.10.2011.10.03.01.52.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Oct 2011 01:52:39 -0700 (PDT) Received: by juno.localdomain (Postfix, from userid 1000) id 2E41582643; Mon, 3 Oct 2011 10:52:38 +0200 (CEST) From: Christian Neukirchen To: rack-devel@googlegroups.com Subject: Re: Purpose of config.ru (regarding server options), #245 References: <4E884A1D.2080102@waechter.wiz.at> <175A67F5-6EEB-46F4-A91A-967976D17869@gmail.com> Date: Mon, 03 Oct 2011 10:52:38 +0200 In-Reply-To: <175A67F5-6EEB-46F4-A91A-967976D17869@gmail.com> (James Tucker's message of "Sun, 2 Oct 2011 16:20:18 -0700") Message-ID: <87pqiebgo9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii James Tucker writes: > This is not an intended feature of config.ru. If you add a shebang > with arguments, that will only work on *some* platforms. Not all > exec*(2) implementations support arguments. This approach is not > portable. Early rackup actually had that, it seems it got lost in the movement to rack/server (and it works nevermind whether the shebang ist parsed): #!/usr/bin/env rackup #\ -s thin -p 9393 (That was kinda inspired by http://www.gnu.org/software/guile/manual/html_node/The-Meta-Switch.html) -- Christian Neukirchen http://chneukirchen.org