Ruby on Rails does not function on Amazon Linux servers.
Uninstall Ruby with yum
We deprecated the legacy Ruby codebase in cPanel & WHM version 66. We will not support any applications you create with the following interfaces:
To install Ruby and create Ruby web applications in cPanel & WHM version 66 and later, follow the directions in our How to Create Ruby Web Applications documentation.
To determine whether Ruby exists on your server, run the following command:
The command returns output that resembles the following example:
yum erase packagenamecommand, where
packagenamerepresents the name of a package.