This tutorial is about setting up environment for RubyOnRails on Ubuntu 14.04. First of all, update & upgrade your system:

wiki

All examples here for deploy RoR application with unicorn, staging machine (where we deploys) available via ssh by ssh_key...

robmclarty.com

Install capistrano: add to Gemfile group :development do gem 'capistrano' gem 'rvm-capistrano' end Then cd to project root folder...