Following is link to my init script for unicorn. https://gist.github.com/1466775
Restart command has never worked for me. I am using upgrade to restart unicorn after eac
I fixed this issue by changing my unicorn init.d script from
CMD="cd $APP_ROOT; bundle exec unicorn -D -c $APP_ROOT/config/unicorn.rb -E staging"
to this:
CMD="cd $APP_ROOT; BUNDLE_GEMFILE=$APP_ROOT/Gemfile bundle exec unicorn -D -c $APP_ROOT/config/unicorn.rb -E staging"
Which seems to point to the new bundle gemfile on every new release. Taking inspiration from this merge request