I am trying to deploy my rails app on Ubuntu 16.04 adapting this tutorial (https://www.digitalocean.com/community/tutorials/deploying-a-rails-app-on-ubuntu-14-04-with-capistrano-nginx-and-puma).
I have gone thr...
I'm trying to deploy a rails 5 app with ubuntu 16.04 etc... On cap production deploy I get the following error on deploy:migrate
INFO [deploy:migrate] Run rake db:migrate
DEBUG [15816e11] Running if test ! -d ...
You've configured Rails or the apps to connect to the database via 18.104.22.168, which is failing.
So are you running PostgreSQL locally?
If yes (running locally), then change the configuration host to 127.0.0.1 or a...
Ruby on Rails