RMagick issues with ImageMagick 6.5.6-5 on Leopard

    I know, RMagick is a pain in the ass. But sometimes you need handle with old projects or some dependencies that makes you do it. So, for these cases, you need it installed.

    Normally you just do something like:

    $ sudo gem install rmagick

    But at this time, didn’t. My installation was not able to find the MagickWand.h file.

    I decided remove all ununsed stuff from my computer, like MacPorts, and other libraries to try solve that (this was decided after compile ImageMagick from the source 2 times and the error persisted), updated paths, changed some params, etc.

    After remove all dependencies, compile a lot of things again, the result was: nothing.

    Actually, no, nothing is something that didn’t happen. My ruby install started give me segmentation fault with some gems. Ok, reinstall ruby, right? Wrong.

    My issue was related with ImageMagick 6.5.6-5, downloading and compiling 6.5.6-10 from the source solved my problem.

    So, with all this mess, at least, I updated all my gems, libraries, ruby version and started to use Homebrew, a nice package manager for Mac. But this is the subject from the next post.

    Working with Rails ⋅  GitHub ⋅  Twitter ⋅  Linked In ⋅  Facebook ⋅  Powered by tumblr
    Fork me on GitHub