Ruby on Rails with ImageMagick and rmagick on Leopard

Posted by Ron Valente Sun, 27 Jan 2008 17:31:00 GMT

Introduction

In the past it has been somewhat interesting to install rmagick and imagemagick on leopard. This is because of the tiff port in MacPorts failing to compile. I prefer MacPorts for jobs like this because if there are any security vulnerabilities in ImageMagick I would easily be able to update it and any of its dependencies with MacPorts and it would not be as easy when compiling from source. That being said lets move on.

Requirements

Procedure

Once you have met all the requirements above you will need to open a Terminal and run the following commands.

# Make sure that MacPorts is fully updated
sudo port -d selfupdate
sudo port sync
# Install ImageMagick
sudo port install ImageMagick
# Install rmagick
sudo gem install rmagick