The Passionate Craftsman

Ruby, PHP, MySql, Software engineering and more.

Sunday, 16 May 2010

Install RMagic on Mac

This post documents the installation of RMagick on Snow Leopard. You need MacPorts installed. Install imagemagick library using MacPorts (have a cup of tea or coffe):

sudo port install tiff -macosx imagemagick +q8 +gs +wmf

Install rmagick gem (use sudo if you do not use rvm):

gem install rmagick

Now you should test if Ruby can use imagemagick:

irb -rubygems -r RMagick
ree-1.8.7-2010.01 > puts Magick::Long_version
This is RMagick 2.13.1 ($Date: 2009/12/20 02:33:33 $) Copyright (C) 2009 by Timothy P. Hunter
Built with ImageMagick 6.6.1-5 2010-05-16 Q8
Built for ruby 1.8.7
Web page:
=> nil
ree-1.8.7-2010.01 >


Thanks to:


At 9 November 2010 at 09:07 , Anonymous Anonymous said...

Here is my tutorial to install RMagick on a Mac


Post a Comment

Subscribe to Post Comments [Atom]

<< Home