From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.5 required=5.0 tests=AWL,RDNS_NONE shortcircuit=no autolearn=no version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (unknown [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 7CF0944C1A8 for ; Fri, 3 Jan 2014 21:44:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9EB7A263102; Fri, 3 Jan 2014 21:44:51 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 3C382263101 for ; Fri, 3 Jan 2014 21:44:43 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C7D8344C1A0; Fri, 3 Jan 2014 21:44:41 +0000 (UTC) Date: Fri, 3 Jan 2014 21:44:41 +0000 From: Eric Wong To: unicorn list Subject: Re: Zero-downtime restarts while updating the environment? Message-ID: <20140103214441.GA30960@dcvr.yhbt.net> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Jonathan del Strother X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Jonathan del Strother wrote: > Hi there, > I recently ran into a problem where I had to update bundler from 1.3 > to 1.5 so that it recognised the "platforms:[ruby_21]" option in my > Gemfile. However, Unicorn continued to use Bundler 1.3 when I > re-exec'd it via USR2 (perhaps unsurprisingly), and so couldn't load > my new gemfile until I completely restarted it. You can poke around in the ENV hash with the before_exec hook to remove/change any environment variables Bundler uses. _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying