In this tutorial, I am going to show you how to setup your server to run Rails application on Nginx with Puma server, and how to deploy the app with Mina tool. Installing Ruby ==== First, we need to install some dependencies for Ruby sudo apt-get update sudo apt-get install git-core