How to deploy a Rails app with Passenger and Apache in Ubuntu 14.04
If you are a Ruby on Rails developer, you need a web server to host your web apps. This article shows you how to use Phusion Passenger as your Rails-friendly web server. Passenger is easy to install, configure, and maintain and it can be used with Apache. In this article, we will learn to install Passenger on Ubuntu 14.04.
Step 1 — Set Up Your Domain
In order to ensure that your site will be up and visible, you need to set up your DNS records to point your domain name towards your new server. Alternatively, you can always access your website via an IP address on your local server.
Step 2 — Install RVM
Before you start, an update of your Ubuntu operating system would ensure the upkeep of all the packages to be installed. You can do this with the following command:
sudo apt-get update
Next step would be to install some libraries and other dependencies. This will make further ruby …