Shaun McDonald's Blog My Random Ramblings

 

December 2009
M T W T F S S
« Sep   Jan »
 123456
78910111213
14151617181920
21222324252627
28293031  

My Most Recent Flickr Photos

www.flickr.com
smsm1's items Go to smsm1's photostream

Random Flickr Photos

www.flickr.com
smsm1's items Go to smsm1's photostream
  • Installing ImageMagick on Snow Leopard (64-bit)

    This blog post is only relevant if you are on Snow Leopard, have a 64-bit Intel Mac, and need to install ImageMagick.

    There are many Ruby on Rails projects out there that have some form image manipulation, thus use ImageMagick for that. Up until recently it was a real pain to install, with some huge list of library dependancies that need to be downloaded, compiled and installed. The ImageMagick project is now supplying a Intel 64-bit binary, specifically for Snow Leopard user so that they don’t need to install from source.

    Another nice little tips that I learned for installing gems that have native extentions, is that you can put the ARCHFLAGS environment variable into your ~/.profile so that you don’t have to manually set it (and then wonder why the gem doesn’t compile elsewhere). You need to add:

    export ARCHFLAGS="-arch x86_64"
    Published on December 14, 2009 · Filed under: Code, Mac OS X, work;
    No Comments

Leave a Reply