How to completely remove Ruby, Ruby gems on Mac OS X 10.6.4
Most rubyists might be shocked when they'll read this, but I'd like to know if it's possible to completely remove the Ruby framework as well as all the tools and gems that ship with Mac OS X 10.6.4.
Any help would be appreciated. (And explanations too if you think I'd rather not do this)
Thanks
Just delete /System/Library/Frameworks/Ruby.framework
, /Library/Ruby
, and erb
, gem
, irb
, rdoc
, ri
, ruby
, and testrb
from /usr/bin
.
Warning: OS X expects and sometimes relies on frameworks and software shipped with the system. It would be a very bad idea to remove the system Ruby. It might even get replaced next time you update OS X -- or it might not, but OS X might expect it to be there, and then bad things will happen. Remove it at your own risk. I am providing this answer because you asked, but I would not recommend removing a system framework.
Why do you want to remove it? It's not hurting anything to sit there, unused.