Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

redgetan's Profile

GitHub User: redgetan

Comments by


I had a similar problem, wherein my updated code is not being loaded by unicorn even after reload. Turns out that it's because I have my unicorn config file set preload_app to true, and sending a HUP signal, which uses for reload and restart, would not make unicorn load the code changes (see HUP under So I modified deploy.rb to use

%w[start stop reload upgrade].each do |command|

instead and use 'reload' for changes in unicorn.rb and 'upgrade' for rails code changes