Pavan Alapati Pavan Alapati - 1 year ago 196
Ruby Question

How to remove Ruby from OS X

We have ruby with version

ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
.We need Uninstall ruby and install again.So We tried like this

Anshuls-Mac-mini-2:~ pankajthakur$ whereis ruby
Anshuls-Mac-mini-2:~ pankajthakur$ rm -f /usr/bin/ruby
rm: /usr/bin/ruby: Permission denied

We need Re-install in other location.Please guide to us.

My current MAC os Version 10.11.5(EI Capitan)

Answer Source

Did you try your command as a root ? :

sudo rm -rf /usr/bin/ruby
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download