Installing Ruby 1.9.3 on CentOS 6

The easiest way to do this is to use Software Collections.

sudo yum install -y centos-release-SCL
sudo yum install -y ruby193

To start a session that has ruby 1.9.3 loaded, use the following:

scl enable ruby193 bash
ruby --version

  • ← Self Signed SSL Client Certificates
  • Use SCL packages without bash →

Published:
June 01, 2015

Category
TIL
Topics
#centos#linux#ruby
Michael Heap
BlogTalksTIL
Get The Book