Rails deployments

I’ve been using Heroku for all these years primarily because I could just do git push heroku master and forget about devops. But lately, I’ve been trying to figure out how it all works under the hood.

I have consolidated all my learning in the form of an Ansible playbook that takes care of all the grunt work involved in deploying Rails apps. However, getting everything to work took way too much time and effort than I had imagined.

The other suggestions mentioned in this thread (e.g: Hatchbox and Dokku) are good, but I feel that we need something like ActiveJob but for deployment.