Feb 19

How to: Install Ruby on Rails using RVM

How to: Install Ruby on Rails using RVM

This is just a quick complement of the article How to: Install the NginX Agent for NewRelic in an Ubuntu server. As I mentioned there if you need Ruby for something other than running a plugin agent like in a development web server RVM is the way to go. Below are the quick instructions on how to deploy Ruby using RVM:

  1.  sudo apt-get install curl
  2.  curl -L get.rvm.io | bash -s stable
  3.  source ~/.rvm/scripts/rvm
  4.  rvm requirements
  5.  rvm install 2.1.0
  6.  rvm use 2.1.0
  7.  rvm --default use 2.1.0
  8.  gem install rails -v 4.0.2

As always, check out http://rvm.io/ for the latest up to date information on RVM.

Enhanced by Zemanta

2 pings

  1. […] etc. (If you need Ruby for other things… say a Web Server using Ruby on Rails then I recommend the RVM install.) Simply use your best friend apt-get and done! It is an old stable version but then again the […]

  2. […] etc. (If you need Ruby for other things… say a Web Server using Ruby on Rails then I recommend the RVM install.) Simply use your best friend apt-get and done! It is an old stable version but then again the […]

Leave a Reply

%d bloggers like this: