How to build ImageMagick and install RMagick with MacPorts on Mac OS X Leopard
Oh holy day, brand new operating system for me to poke my grubby little fingers at!
Leopard is a piece of work that is for sure, but for some of us getting back to the bliss that was the Rails development environment on Tiger will take a little doing. In today’s journey will get RMagick running again.
Apple has provided us with a near complete rails environment out of the box, but there are two big missing pieces: the mysql gem, and rmagick.
Normally, we would simply install rmagick with:
sudo port install ImageMagick sudo gem install rmagick
But it turns out the tiff port in macports fails to build when using apples new implementation of opengl in leopard. so:
Getting RMagick, Leopard-Style
sudo port install tiff -macosx #disables the linkage with Apple's open gl sudo port install ImageMagick sudo gem install rmagick
Simple as that.