utopia 365 - some of our clients
utopia 365 iPhone Development Services

Wednesday 25 June 2008

Installing RMagick on OS X Leopard

Getting RMagick to install on OS X can be a bit of a pain in the arse. Having failed with an attempt to install it through MacPorts, I came across this fabulous article over at http://macournoyer.wordpress.com

Great stuff mate, thanks!

Anyway, a few subtle additions/changes and I'm away with RMagick on Leopard.

If you want to install the same, follow the instructions in the article with these additions/changes:

1. curl -O ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz


This gives a 503 error. Change it to:

curl -O http://www.ijg.org/files/jpegsrc.v6b.tar.gz


2. Before you do: sudo mv fonts/ /usr/local/share/ghostscript/fonts/

You need to create the ghostscript directory:

sudo mkdir /usr/local/share/ghostscript


3. sudo gem install RMagick

This fails with: ERROR: could not find RMagick locally or in a repository

You need to do this:

sudo gem install rmagick


That's it. You should now have a working RMagick!

2 comments:

Andrew said...

BIT of a pain in the ass? The process is more like visiting the 7 circles of hell. Thanks for the help though! All this for a fucking captcha??!

Voodoo said...

This helped me a lot. Twice :) Thank you.


 
Follow utopia 365 on Twitter
Subscribe to our RSS feed