From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.49.16 with SMTP id t16cs333473qcf; Wed, 25 Aug 2010 09:24:55 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCM2i09LAAhDVh9XjBBoEM_a_9Q@googlegroups.com designates 10.115.99.13 as permitted sender) client-ip=10.115.99.13; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCM2i09LAAhDVh9XjBBoEM_a_9Q@googlegroups.com designates 10.115.99.13 as permitted sender) smtp.mail=rack-devel+bncCM2i09LAAhDVh9XjBBoEM_a_9Q@googlegroups.com; dkim=pass header.i=rack-devel+bncCM2i09LAAhDVh9XjBBoEM_a_9Q@googlegroups.com Received: from mr.google.com ([10.115.99.13]) by 10.115.99.13 with SMTP id b13mr2967992wam.14.1282753494818 (num_hops = 1); Wed, 25 Aug 2010 09:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:mime-version:message-id:date:to:from :subject:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=Jd0mmy1a2Uxbdh+N6o4ry8jEWj/52RpHCzBKvHX1gSw=; b=F+fr5MQykqtHn11/TW0ttvRuqF7Gw5ca02MSCnivZNTZTxkccKnFj7/FO4Yp2onhL2 kzOOoKIKlse26fPD/3FubJ+j3zy+5IbUIoWU0SsBZ4h4MLXVwIxgoQ6oiMiGRrfALltn tTAi1keQ7c5Y/d/bE8g8vpO3uWegOjK7fHAww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:message-id:date:to:from :subject:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; b=xWA+/la9e77OA9IQZC5+GwJrr354SS/IICNfSDto6MRGotBt2MM/xvlc3FqKEZEAbV QGjFauisY6G+2CJXYlLQm/75dipuH5Pm0CCPCofv/Yub1OTxhSRRyZ25WcBhD4dgZsQu oRMCeeaJHs50nOvyKhlQyWQ6W5nqUCazq/TQ8= Received: by 10.115.99.13 with SMTP id b13mr621088wam.14.1282753493375; Wed, 25 Aug 2010 09:24:53 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.115.135.14 with SMTP id m14ls853791wan.2.p; Wed, 25 Aug 2010 09:24:52 -0700 (PDT) Received: by 10.114.204.7 with SMTP id b7mr2069407wag.43.1282753492615; Wed, 25 Aug 2010 09:24:52 -0700 (PDT) Received: by 10.114.204.7 with SMTP id b7mr2069406wag.43.1282753492584; Wed, 25 Aug 2010 09:24:52 -0700 (PDT) Received: from deanbrook.org (deanbrook.org [72.52.70.192]) by gmr-mx.google.com with SMTP id k37si2022535wae.2.2010.08.25.09.24.52; Wed, 25 Aug 2010 09:24:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stephen.bannasch@deanbrook.org designates 72.52.70.192 as permitted sender) client-ip=72.52.70.192; Received: from ::ffff:71.161.160.195 ([71.161.160.195]) by deanbrook.org for ; Wed, 25 Aug 2010 09:24:49 -0700 Mime-Version: 1.0 Message-Id: Date: Wed, 25 Aug 2010 12:24:44 -0400 To: rack-devel@googlegroups.com From: Stephen Bannasch Subject: rack 1.2.2 release => Rack::Server.new(:app => app).start X-Original-Sender: stephen.bannasch@deanbrook.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of stephen.bannasch@deanbrook.org designates 72.52.70.192 as permitted sender) smtp.mail=stephen.bannasch@deanbrook.org Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset="us-ascii" ; format="flowed" Is a rack 1.2.2 release likely to happen soon? I'd like to be able to use Rack::Server by passing in an app instead of specifying a config.ru. I just fixed it by hackingmy rack-1.2.1 gem locally and then saw this commit on July 12: http://github.com/rack/rack/commit/c73b474525bace3f059a130b15413abd4d917086 Rack::Server should accept :app and override :config. I want to be able to do things like this: jnlp_app = Rack::Builder.new do map "/" do use Rack::Jnlp run Rack::Directory.new(PUBLIC_DIR) end end Rack::Server.new(:app => jnlp_app, :Port => 4321, :server => 'webrick').start Which I can now on my machine or if I update to the tip of the master branch. I'd just like it to be easier to deploy the code on the server or share with other people. In the meantime I'm using this form: Rack::Handler::WEBrick.run(jnlp_app, :Port => 4321) But starting the server that way doesn't respond to ctrl-c ... see: http://github.com/rack/rack/issues/issue/35