From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.140.128.1 with SMTP id a1cs50585rvd; Wed, 31 Mar 2010 06:58:43 -0700 (PDT) Received-SPF: pass (google.com: domain of 3EFWzSwcJCmQIQFHQECIOCKN.EQOTCEM-FGXGNIQQINGITQWRU.EQO@groups.bounces.google.com designates 10.150.248.1 as permitted sender) client-ip=10.150.248.1; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3EFWzSwcJCmQIQFHQECIOCKN.EQOTCEM-FGXGNIQQINGITQWRU.EQO@groups.bounces.google.com designates 10.150.248.1 as permitted sender) smtp.mail=3EFWzSwcJCmQIQFHQECIOCKN.EQOTCEM-FGXGNIQQINGITQWRU.EQO@groups.bounces.google.com; dkim=pass header.i=3EFWzSwcJCmQIQFHQECIOCKN.EQOTCEM-FGXGNIQQINGITQWRU.EQO@groups.bounces.google.com Received: from mr.google.com ([10.150.248.1]) by 10.150.248.1 with SMTP id v1mr3983030ybh.61.1270043921536 (num_hops = 1); Wed, 31 Mar 2010 06:58:41 -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:received:in-reply-to :references:date:received:message-id:subject:from:to :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type:content-transfer-encoding; bh=fah8k3oJ+VERFduSiRWHByvh8TfdOTQvUcw/K/vnznA=; b=tzSDgrtcfcKEK1zG13yst7FZxitIpzW2gOM/b3ofKdUIt25DsSVNYD/tI+XS2P+Ft2 LqL0CeuzfNNfWcK7nHLMm8mgHCHCXoc/nkYChcsqZfIFGbYatdAjPL6FXwYGuIfJuxH5 ea3cTL88vgnkLuGcyfwXnRAD/X4/O2gC/LDWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-authentication-results :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:x-thread-url:x-message-url:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; b=AqyzVM/ZKsniG3fXyvdzM/jciMq52QAzK5VvTm4kT8bFxEDpyMV4Jq7KT84CCdaObw 2JjtpaIuDuh111zdym4kBLPNpEzXpEhwNNbKz3E0CYIS9v2t7btCGxKt8ri6j04Ny8it xol2a88OZ9i1+RyiWd/6U6IjeEpwc19As8RBE= Received: by 10.150.248.1 with SMTP id v1mr393321ybh.61.1270043920141; Wed, 31 Mar 2010 06:58:40 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.91.91.8 with SMTP id t8ls120076agl.2.p; Wed, 31 Mar 2010 06:58:39 -0700 (PDT) Received: by 10.91.49.14 with SMTP id b14mr215491agk.14.1270043918546; Wed, 31 Mar 2010 06:58:38 -0700 (PDT) Received: by 10.91.49.14 with SMTP id b14mr215487agk.14.1270043918452; Wed, 31 Mar 2010 06:58:38 -0700 (PDT) Return-Path: Received: from mail-yx0-f185.google.com (mail-yx0-f185.google.com [209.85.210.185]) by gmr-mx.google.com with ESMTP id 24si74451ywh.6.2010.03.31.06.58.37; Wed, 31 Mar 2010 06:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of godfoca@gmail.com designates 209.85.210.185 as permitted sender) client-ip=209.85.210.185; Received: by mail-yx0-f185.google.com with SMTP id 15so63422yxe.7 for ; Wed, 31 Mar 2010 06:58:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.227.6 with HTTP; Wed, 31 Mar 2010 06:58:37 -0700 (PDT) In-Reply-To: <87hbnwr4pu.fsf@gmail.com> References: <87hbnwr4pu.fsf@gmail.com> Date: Wed, 31 Mar 2010 10:58:37 -0300 Received: by 10.150.66.5 with SMTP id o5mr8019819yba.159.1270043917249; Wed, 31 Mar 2010 06:58:37 -0700 (PDT) Message-ID: Subject: Re: [GitHub] ENV["RACK_ENV"] is not set on startup [rack/rack GH-11] From: =?ISO-8859-1?Q?Nicol=E1s_Sanguinetti?= To: rack-devel@googlegroups.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of godfoca@gmail.com designates 209.85.210.185 as permitted sender) smtp.mail=godfoca@gmail.com; dkim=pass (test mode) header.i=@gmail.com X-Original-Sender: godfoca@gmail.com 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: X-Thread-Url: http://groups.google.com/group/rack-devel/t/838c8abdaae55bb8 X-Message-Url: http://groups.google.com/group/rack-devel/msg/8591cd60c9bfd5b0 Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Mar 31, 2010 at 10:38 AM, Christian Neukirchen wrote: > >> Subject: [GitHub] ENV["RACK_ENV"] is not set on startup [rack/rack GH-11= ] >> >> ENV["RACK_ENV"] is not set by rackup on startup, meanwhile at least >> Passenger, Thin and Unicorn pass this to apps. Besides that Sinatra >> and Merb use it to set their environment. =A0You can see the discussion >> about that in the Unicorn list: >> http://www.mail-archive.com/mongrel-unicorn@rubyforge.org/msg00123.html > >> The patch to fix it here: >> http://github.com/tundraghost/rack/commit/90e9dfedf454a1491d97ab1d145cd1= 05fdb1c216 > > Discuss. Everyone standarized on using ENV["RACK_ENV"], so I don't see a problem in doing it in core. > -- > Christian Neukirchen =A0 =A0http://chneukirchen.o= rg > > > -- > To unsubscribe, reply using "remove me" as the subject. >