Packaged in with cPanel 11 is a new Ruby installer that will seamlessly install and integrate Ruby in your system and cPanel. To install, simple run this command:
/scripts/installruby
Once this is installed, you can test that it is functional by running:
ruby -v
If you’re more old-fashioned or are running a version of cPanel that does not have the installer, you can find a manual installation tutorial here.