rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Christian Neukirchen <chneukirchen@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: Purpose of config.ru (regarding server options), #245
Date: Mon, 03 Oct 2011 10:52:38 +0200	[thread overview]
Message-ID: <87pqiebgo9.fsf@gmail.com> (raw)
In-Reply-To: <175A67F5-6EEB-46F4-A91A-967976D17869@gmail.com> (James Tucker's message of "Sun, 2 Oct 2011 16:20:18 -0700")

James Tucker <jftucker@gmail.com> 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  <chneukirchen@gmail.com>  http://chneukirchen.org

  reply	other threads:[~2011-10-03  8:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-02 11:25 Purpose of config.ru (regarding server options), #245 Matthias Wächter
2011-10-02 11:46 ` coolesting
2011-10-02 23:20 ` James Tucker
2011-10-03  8:52   ` Christian Neukirchen [this message]
2011-10-29  1:06     ` Matthias Wächter
2011-10-28 21:01   ` Matthias Wächter
2011-12-21  9:08     ` Matthias Wächter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqiebgo9.fsf@gmail.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).