Step 1: Install Required Packages
# 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
Step 2: Install RVM ( Ruby Version Manager )
# curl -L get.rvm.io | bash -s stable
Step 3: Setup RVM Environment
# source /etc/profile.d/rvm.sh
Step 4: Install Ruby
# rvm install 2.0.0
Step 5: Setup Default Ruby Version
# rvm use 2.0.0 --default

Using /usr/local/rvm/gems/ruby-2.0.0-p247
Step 6: Check Current Ruby Version.
# ruby --version

ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]

References: 
1. http://rvm.io/rubies/installing

Posted by [czar]
,