Install Ruby
# wget http://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.gz
# tar xvzf ruby-2.3.1.tar.gz
# cd ruby-2.3.1
# ./configure --prefix=/usr
# make
# make install

Remove Ruby
remove "ruby-2.3.1" folder

Install RubyGems
# wget https://rubygems.org/rubygems/rubygems-2.6.6.tgz
# tar xvzf rubygems-2.6.6.tgz
# cd rubygems-2.6.6
# ruby setup.rb config
# ruby setup.rb setup
# ruby setup.rb install

Remove RubyGems
remove "rubygems-2.6.6" folder

Install Ruby and Rubygems on CentOS 6.5
It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Email this to someonePrint this page
Tagged on:                     

Leave a Reply

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