From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Cc: Jonathan del Strother <maillist@steelskies.com>
Subject: Re: Zero-downtime restarts while updating the environment?
Date: Fri, 3 Jan 2014 21:44:41 +0000 [thread overview]
Message-ID: <20140103214441.GA30960@dcvr.yhbt.net> (raw)
In-Reply-To: <CAF5DW8K9u6tdreDpCqOz90w=NXF659CUnvOiiDRjH=-jiL961Q@mail.gmail.com>
Jonathan del Strother <maillist@steelskies.com> 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
prev parent reply other threads:[~2014-01-03 21:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-03 19:15 Zero-downtime restarts while updating the environment? Jonathan del Strother
2014-01-03 20:42 ` Sam Saffron
2014-01-03 21:44 ` Eric Wong [this message]
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-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140103214441.GA30960@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=maillist@steelskies.com \
--cc=mongrel-unicorn@rubyforge.org \
/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.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
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).