Capistrano deploy to ubuntu with systemd, nginx/puma and rbenv

This tutorial will show you how to deploy a Rails app via Capistrano, run it with Puma, restart it without sudo access and be able to host multiple environments and apps on same serverThis post assumes, that you have already done basic server setup, created user and installed rbenv. If not, please follow this tutorial to get instructions about initial server setup and then that one to get rbenv. Remember, app requires it's own user that should not have sudo rights!As an app user install desired ruby version. I'm going to install 2.4.3 to illustrate how we can have multiple Rails apps on the same server using completely different environments:.
Capistrano deploy to ubuntu with systemd, nginx/puma and rbenv #ruby #rubydeveloper #rubyonrails #deploy https://rubyonrails.ba/single/capistrano-deploy-to-ubuntu-with-systemd-nginx-puma-and-rbenv

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles