From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.140.128.1 with SMTP id a1cs77084rvd; Wed, 31 Mar 2010 15:40:20 -0700 (PDT) Received-SPF: pass (google.com: domain of 3Uc-zSwQMCiAFKODFKODLAAG.8KIN68G-9ARAHCKKCHACNKQLO.8KI@groups.bounces.google.com designates 10.101.83.1 as permitted sender) client-ip=10.101.83.1; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3Uc-zSwQMCiAFKODFKODLAAG.8KIN68G-9ARAHCKKCHACNKQLO.8KI@groups.bounces.google.com designates 10.101.83.1 as permitted sender) smtp.mail=3Uc-zSwQMCiAFKODFKODLAAG.8KIN68G-9ARAHCKKCHACNKQLO.8KI@groups.bounces.google.com; dkim=pass header.i=3Uc-zSwQMCiAFKODFKODLAAG.8KIN68G-9ARAHCKKCHACNKQLO.8KI@groups.bounces.google.com Received: from mr.google.com ([10.101.83.1]) by 10.101.83.1 with SMTP id k1mr92593anl.54.1270075219079 (num_hops = 1); Wed, 31 Mar 2010 15:40:19 -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:date :in-reply-to:x-ip:references:user-agent:x-http-useragent: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=Rq2nmeszrzpDr/FOLvI44QAxqvq5RHPCQVcblXdzftI=; b=3ln5E+PsO8MHLBsQ8jqWzTPZpWpnwqicoWJrvEDvBl/Mk63RdjkbJOsJvBUQAXSdvF eadlCwHZLIsqi4VlSfld771A9AipRxQfm2UXhS0qFF2DzRop6TJTOsGb3bpj4AgF17kQ Y8sPfk0o7zEsN4QfDmmkG6pvj5f3fYqXC/6L4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:date:in-reply-to:x-ip :references:user-agent:x-http-useragent: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=xAnw6nzk8Eg7wbhPRerHNVzOBcR0VFiQYTYsk5YinT3NLtvmxJFtgnsUCSofoGkZZs uQfpg7JFkT1HFipIgwbR1XeNUFWudfLJRBqTb/DDQUOa6jHC0hhTGZrrtSW0F6HOChW8 e3qIFgUtD3AlgxL2sFckel8NYsEGKhu7tQLqw= Received: by 10.101.83.1 with SMTP id k1mr7628anl.54.1270075217674; Wed, 31 Mar 2010 15:40:17 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.101.146.35 with SMTP id y35ls195893ann.7.p; Wed, 31 Mar 2010 15:40:16 -0700 (PDT) Received: by 10.101.142.38 with SMTP id u38mr197508ann.0.1270075216515; Wed, 31 Mar 2010 15:40:16 -0700 (PDT) Received: by 10.101.142.38 with SMTP id u38mr197506ann.0.1270075216483; Wed, 31 Mar 2010 15:40:16 -0700 (PDT) Return-Path: Received: from mail-gw0-f64.google.com (mail-gw0-f64.google.com [74.125.83.64]) by gmr-mx.google.com with ESMTP id 11si550844gxk.9.2010.03.31.15.40.16; Wed, 31 Mar 2010 15:40:16 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.64 is neither permitted nor denied by best guess record for domain of josh@joshpeek.com) client-ip=74.125.83.64; Received: by gwaa18 with SMTP id a18so600515gwa.29 for ; Wed, 31 Mar 2010 15:40:16 -0700 (PDT) MIME-Version: 1.0 Received: by r27g2000yqn.googlegroups.com with HTTP; Wed, 31 Mar 2010 15:40:16 -0700 (PDT) Date: Wed, 31 Mar 2010 15:40:16 -0700 (PDT) In-Reply-To: <87hbnwr4pu.fsf@gmail.com> X-IP: 75.102.225.158 References: <87hbnwr4pu.fsf@gmail.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.3 (KHTML, like Gecko) Chrome/5.0.360.4 Safari/533.3,gzip(gfe) Received: by 10.150.172.17 with SMTP id u17mr25023ybe.79.1270075216256; Wed, 31 Mar 2010 15:40:16 -0700 (PDT) Message-ID: Subject: Re: ENV["RACK_ENV"] is not set on startup [rack/rack GH-11] From: Joshua Peek To: Rack Development X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 74.125.83.64 is neither permitted nor denied by best guess record for domain of josh@joshpeek.com) smtp.mail=josh@joshpeek.com X-Original-Sender: josh@joshpeek.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/6a191132bcdd488e Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mar 31, 8:38=A0am, Christian Neukirchen wrote: > > Subject: [GitHub] ENV["RACK_ENV"] is not set on startup [rack/rack GH-1= 1] > > > 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-unic...@rubyforge.org/msg00123.html > > The patch to fix it here: > >http://github.com/tundraghost/rack/commit/90e9dfedf454a1491d97ab1d145... +1 I changed Rails to prefer RACK_ENV over RAILS_ENV a while back. Can we put this convention in "The SPEC"?