Compiling RMagick on OS X 10.4.9 Intel

by Jason on Apr 26, 2007

Above: Billy Crystal and Meg Ryan debate pre-built binaries vs. compiling from source in the movie When Harry Met Sally (1989).

Compiling From Source

Have you out-grown Locomotive and decided to compile your rails and RMagick install from the source? Did you have trouble getting RMagick to work on your OS X installation? Do you just enjoy pain? Read on!

This all started for me when using the validates_captcha plugin. I kept getting [BUG] Bus Error in my mongrel logs and the mongrel process would just crash on my local server. The problem turned out to be with RMagick. More specifically, I was able to narrow it down to when it tried to insert text programatically. For those of you having difficulty installing RMagick on your Intel Macs, give these instructions a try, but only if you don't already have a good working install of RMagick. Trust me, don't ruin a good thing.

AddThis Social Bookmark Button Tags: rmagick  | permalink