Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I painlessly upgrade ruby and python languages and their libraries? Can I nuke the system versions (which are present somewhere in /System/Libraries) and install newer ones using package manager (macports, fink, homebrew) or should I install them side by side to separate --prefix and override the $PATH variable to use installed versions first? Any other decent options?

share|improve this question
up vote 4 down vote accepted

Don't overwrite or remove the system versions. Future OS X updates will break things.

MacPorts, Fink and Homebrew will use prefixes to prevent such problems, and typically set up the path so that your own calls to scripting languages will use their custom versions, whereas OS X packages will continue to use its own versions.

share|improve this answer
Also look at the installs from the source of the scripting language e.g. will install python in /usr/local/bin – Mark Aug 14 '11 at 20:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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