RVM How To

This is the easiest stuff ever:

curl -sSL https://get.rvm.io | bash

[root@SG2 ~]# rvm install 1.9.3

Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/centos/5/x86_64/ruby-1.9.3-p484.tar.bz2
Checking requirements for centos.
Installing requirements for centos.
Updating system.
Installing required packages: libyaml-devel, libffi-devel………
Requirements installation successful.
ruby-1.9.3-p484 – #configure
ruby-1.9.3-p484 – #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.3M 100 10.3M 0 0 3253k 0 0:00:03 0:00:03 –:–:– 3320k
ruby-1.9.3-p484 – #validate archive
ruby-1.9.3-p484 – #extract
ruby-1.9.3-p484 – #validate binary
ruby-1.9.3-p484 – #setup
ruby-1.9.3-p484 – #making binaries executable.
ruby-1.9.3-p484 – #downloading rubygems-2.2.2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 404k 100 404k 0 0 2886k 0 –:–:– –:–:– –:–:– 9.8M
No checksum for downloaded archive, recording checksum in user configuration.
ruby-1.9.3-p484 – #extracting rubygems-2.2.2.
ruby-1.9.3-p484 – #removing old rubygems.
ruby-1.9.3-p484 – #installing rubygems-2.2.2……………
ruby-1.9.3-p484 – #gemset created /usr/local/rvm/gems/ruby-1.9.3-p484@global
ruby-1.9.3-p484 – #importing gemset /usr/local/rvm/gemsets/global.gems..
ruby-1.9.3-p484 – #generating global wrappers.
ruby-1.9.3-p484 – #gemset created /usr/local/rvm/gems/ruby-1.9.3-p484
ruby-1.9.3-p484 – #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list
ruby-1.9.3-p484 – #generating default wrappers.
[root@SG2 ~]# ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

Leave a comment

Your email address will not be published. Required fields are marked *

CommentLuv badge