install instructions come from official site
# add pacakges
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7
sudo sh -c 'echo "deb https://oss-binaries.phusionpassenger.com/apt/passenger saucy main" >> /etc/apt/sources.list.d/passenger.list'
# secure list
sudo chown root: /etc/apt/sources.list.d/passenger.list
sudo chmod 600 /etc/apt/sources.list.d/passenger.list
sudo apt-get update
sudo apt-get install nginx-extras passenger -y
sudo sh -c 'curl https://gist.github.com/tsabat/8726614/raw/b4e17dc51e361b7c7c6678aa83be4b17c96096fa/nginx.conf > /etc/nginx/nginx.conf'