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:
-
sudo apt-get install curl
-
curl -L get.rvm.io | bash -s stable
-
source ~/.rvm/scripts/rvm
-
rvm requirements
-
rvm install 2.1.0
-
rvm use 2.1.0
-
rvm --default use 2.1.0
-
gem install rails -v 4.0.2
As always, check out http://rvm.io/ for the latest up to date information on RVM.
Love
Can we use Let's Encrypt, the free and open certificate authority?
Hola! gracias por la info, me sirvió el comando sacandole el nombre del server. En mi caso, fue una migración…
Yes 3rd option helped me too. I removed the WC key Values from config file then started working.
I know this is from 2014. But really, thank you!