Sunday, July 01, 2018

Make Capistrano Run Migration on Deploy

Make sure you have the db role in the 

config/deploy/production.rb file as follows:

:

server 'ip-address-goes-here', user: 'deploy-user', roles: %w{app web db}