Reworked logic for determining if Ruby, RubyGems, and Rails looks to have been installed by cPanel.