deployment - Capistrano: "cap deploy" doesn't take effect when deploying a Rails application -
i deploying rails application using capistrano. once have made changes app "cap deploy" , seems working properly, changes don't take effect. have "cap deploy:stop" , "cap deploy:start" , fine. guess has "cap deploy:restart" run when deploying changes.
here deploy.rb: deploy.rb gist
hope can help.
thank in advance
if restart unicorn using usr2
signal doesn't automatically know correct environment bundler. check out gist (specially before_exec block) , adjust unicorn config accordingly.
https://gist.github.com/534668
hope helps.
Comments
Post a Comment