[Ruby] rails AWS deployment is not reflected

less than 1 minute read

What to do if AWS deployment is not reflected

environment rails 5.2.4 unicorn nginx For those who may not be immediately reflected in AWS when automatically deployed with capistrano.

Solution

Locally before deploying cap production unicorn:stop After this, bundle exec cap production deploy At the terminal. unicorn will stop. Unicorn stops in the same way with automatic deployment Although it should have been done, it is often not reflected immediately. In my environment this immediately reflects the deployment