Ruby is used in so many different places these days, I'm not sure you can uninstall it and still have a functional OS. Certainly you wouldn't be able to uninstall Python - the Anaconda OS boot subsystem is written in Python.
However, if you're willing to risk it, don't attempt to remove Ruby by brute-force file deletion. You are likely to miss all the places where ruby-related files are hidden and end up with trash in your system.
Instead, remove the ruby packages using RPM. Use the command "rpm -qa | grep ruby" to find all the primary ruby packages. In addition, you'll probably have to track down ruby-related packages - removing node.js, for example, means that you'd have to remove npm. Ruby is likely to have some "gem" RPMs and probably other stuff as well.
Since many of these packages reference other packages, you'll have to either determine the dependency chain and remove them in reverse dependency order or make up a big long rpm --erase command line that removes them all in one shot.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
Goodbye moon men. Hello tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book