2

I'm new to OS X, and I need to get rid of one of the libraries under /System/Library/Frameworks.

I know I cannot just remove the directory, because there are symbolic links to its binaries from /usr/bin. How can I remove it?

The exact case: There is a Ruby.framework there which I want to get rid of because I want to manage Ruby versions using RVM.

migrated from stackoverflow.com May 20 '13 at 17:44

This question came from our site for professional and enthusiast programmers.

  • 3
    You don't need to remove the system Ruby to install other Ruby versions using RVM! Just override it where necessary. – deceze May 20 '13 at 14:50
  • 6
    Don't remove anything you haven't installed yourself in /System/. – Guillaume May 20 '13 at 14:54
  • 3
    @Guillaume is right, but furthermore, don’t install anything yourself in /System. – microtherion May 20 '13 at 14:57
3

There is no safe way to remove files from /System/Library/Frameworks — anything you see there was installed as part of the operating system, and removing it will cause some applications to stop working correctly.

In particular, applications which make use of MacRuby / RubyCocoa will depend on the specific version of Ruby that is installed as part of this framework. Don't touch it. Don't even look at it. You should be able to use RVM just fine with it where it is.

  • ok, thank you. I'll try to fix my problem differently. The exact problem is that I have different PATH on my terminal than in jenkins... but that's case for another question on stackoverflow I think – Adam Pierzchała May 21 '13 at 5:06

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.