Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »



Install Ruby

Troubleshoot your installation

Uninstall Ruby



Manual compilation


 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 make 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:

mv /usr/bin/ruby /usr/bin/ruby.bak`date +%F`
mv /usr/lib/ruby /usr/lib/ruby.bak`date +%F`
mv /usr/bin/gem /usr/bin/gem.bak`date +%F`
mv /usr/bin/rails /usr/bin/rails.bak`date +%F`

Additional documentation

  • No labels