Table of Contents

How to install Ruby on Centos using RVM

To install ruby, let us first install RVM. RVM is Ruby version manager.

curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
curl -L get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm reload

Install Ruby

rvm install ruby

Related Posts