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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -