How to install Ruby 2.4.0 in CentOS 6.8

How to install Ruby 2.4.0 in CentOS 6.8

Ruby version (1.8.7) incorporated with CentOS 6.8

centos_68_ruby_version

centos_68

install_ruby_2_4_0_centos_68_v2

centos_68_gem_versionruby_2_4_0_centos_68rvm

commands used:

Applied if necessary (gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3)

curl -sSL https://get.rvm.io | bash
rvm install 2.4.0
ruby --version

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s