you can quickly set up ruby on your system using CPanel. previously, you had to do this using operating system packages or personally from resources. Now, we can just run /scripts/installruby and this will do everything for us:
Download, compile and install ruby:
/scripts/installruby
It will install the latest version of ruby
ruby -v ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
and the following gems also:
gem list actionmailer (2.1.0) actionpack (2.1.0) activerecord (2.1.0) activeresource (2.1.0) activesupport (2.1.0) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) fastthread (1.0.1) gem_plugin (0.2.3) mongrel (1.1.5) rails (2.1.0) rake (0.8.1)
This should be enough for running ruby scripts, but if you want to use Ruby On Rails from within CPanel then you just have to complete this by running /usr/local/cpanel/bin/ror_setup.