Ruby on Rails does not function on Amazon Linux servers.
Uninstall Ruby a manual-compile Ruby installation
If you manually compiled Ruby on your server, run the
uninstall command in the package directory.
After you uninstall Ruby from your server, the system may leave several files and folders on your server.
We recommend that you run the following commands to archive any Ruby files and folders that the
uninstall command did not remove. This process prevents conflicts with future installations of Ruby: