Subscribe to our feed

Symfony Experts

Symfony Experts
If you have an urgent question for a symfony-related issue, this is the place to ask.


Stack Overflow

The old fashioned way


July 20, 2011 – 5:51pm Mac OS 10.7 Lion PHP Ruby upgrade notes

A new notes regarding my local development environment after upgrading to Lion this morning.

1. mycrypt extension is no longer installed. To get this working I had to update/reinstall Developer Tools (from the App Store), install libmcrypt using macports, and then more or less follow the instructions here (changing 10.6 to 10.7 as necessary).

2. Path to ruby gems was missing/changed. Reinstalling the gems I needed fixed the issue.

Posted by in  Web Development

2 Responses to Mac OS 10.7 Lion PHP Ruby upgrade notes

  1. Keri Henare says:

    You should look at switching to Homebrew instead of MacPorts. It’s many times better.

    We’ve switch all our development from the OS X environment to Debian virtual machines running inside OS X. VirtualBox menulet allows you to have a hidden VM boot on startup. I then have my local web folder mounted to the VM over NFS. Works a charm and I can “apt-get install” anything that I need.

  2. I do it similarly with a Ubuntu 11 Server running RVM so I can have Ruby 1.8, 1.9 and REE for various apps and different gem sets. And if I mess up bad I just throw that VM out and use a fresh one from a clean vdi that I saved.

    Now about Lion, I have gone there and came back to Snow Leopard until things run smoother. I second that about Brew though, so much cleaner. I used Fink before so imagine what an upgrade that was.