Skip to main content


Showing posts from July, 2016

Ruby On Rails with Nginx With Passenger Deployment?

Ruby On Rails  with Nginx With Passenger Deployment?

Ruby Installation #sudo apt-get update #sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev #wget
#tar -xzvf ruby-2.2.3.tar.gz
#cd ruby-2.2.3/
#make #sudo make install #ruby -v Rails Installation Since Rails ships with so many dependencies these days, we're going to need to install a Javascript runtime like NodeJS. This lets you use Coffeescript and the Asset Pipeline in Rails which combines and minifies your javascript to provide a faster production environment. To install NodeJS, we're going to add it using a PPA repository: sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs gem install rails -v 4.2.4 MongoDB Installation sudo apt-key adv --keyserver --recv …