Install Ruby 2.3.1 or any other version on Centos

1. Installing Recommended Packages

There are few developemnt libraries required to run Ruby on Linux. Use following command to install recommended packages on your server using yum.

 

# yum install gcc-c++ patch readline readline-devel zlib zlib-devel 
# yum install libyaml-devel libffi-devel openssl-devel make 
# yum install bzip2 autoconf automake libtool bison iconv-devel

[Read more…]