The installation of Ruby on Rails in cPanel has two parts, first is installing Ruby itself, which can be accomplished by running
/scripts/installruby. This script will install Ruby, RubyGems, Mongrel and the software that Ruby relies upon and activates the Ruby interface in your end user’s cPanel.
The second step in the installation is running
/usr/local/cpanel/bin/ror_setup. This script will setup Ruby on Rails so that it will be activated when your system starts.
For more information visit