Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point Unicorn to current/Gemfile instead of release dir. #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 9, 2014

  1. Point Unicorn to current/Gemfile instead of release dir.

    Without this env variable unicorn master process remembers path to
    Gemfile of specific release. This causes two problems when reloading
    unicorn using USR2 signal:
    
    1. Gems are not refreshed if Gemfile has changed since the release when
    unicorn was started.
    2. If the release from which unicorn was started is removed due to
    `keep_releases` option, unicorn will fail to reload (since that Gemfile
    is no longer available).
    
    You need to `cap stage unicorn:stop && cap stage unicorn:start`
    for this fix to be applied.
    amw committed Sep 9, 2014
    Configuration menu
    Copy the full SHA
    7838d30 View commit details
    Browse the repository at this point in the history