Problem restarting Unicorn

Andrew Stewart boss at
Tue Apr 10 08:52:57 UTC 2012

On 5 Apr 2012, at 13:34, Michael Guterl wrote:
> On Thu, Apr 5, 2012 at 3:21 AM, Andrew Stewart <boss at> wrote:
>> I just had a problem where a bundled gem wasn't being seen by the Unicorn processes, even though app code I introduced at the same time was being served by the Unicorn processes.  I had restarted Unicorn numerous times using `bundle exec cap deploy:restart` (see the code below), which I thought was the right way to do zero-downtime restarts, but my problem was only solved by doing a hard restart of Unicorn with `bundle exec cap deploy:hard_restart`.
> You probably want to check out the Sandbox documentation here:

Thanks for the pointer to the Sandbox documentation, the one page on the Unicorn website I hadn't read.  The section on BUNDLE_GEMFILE for Capistrano users was what I needed.

Andy Stewart

More information about the mongrel-unicorn mailing list