Deploying a Rails App on Ubuntu 14.04 with Capistrano, Nginx, and Puma
In this tutorial we’ll install Ruby and Nginx on a the cloud provider Ubuntu Droplet and configure Puma and Capistrano in our web app. Nginx will be used to capture client requests and pass them over to the Puma web server running Rails. We’ll use Capistrano to automate common deployment tasks, so every time we have to deploy a new version of our Rails app to the server, we can do that with a few simple commands.