NOTE; this article is written for the most current rmagick-1.15.9 There are lots of articles about how to install ImageMagick and the RMagick gem, but none of them really cut to the chase in my opinion. Here is how to do it in no time at all, using fink.

#install imagemagick (and save some time by apt-getting ghostscript binaries)
sudo apt-get install ghostscript
sudo fink install imagemagick imagemagick10-dev

#set up stuff for rmagick compilation
export LIBRARY_PATH='/sw/lib'

# the location of this directory might be different if you didn't install rubygems with fink.
cd /sw/lib/ruby/gems/1.8/gems/rmagick-1.15.9
sudo chmod a+x configure
sudo ./configure --prefix=/sw    #point to fink installation
sudo gem install rmagick

2 Responses to “installing RMagick gem with fink”

  1. Scott Schlegel Says:

    I just went through the process of installing imageMagick/RMagick and found it to be a collosal pain. I tried compoiling it from the source and ran into issues at just about every step. Finally decided a package manager (darwin ports in this case) which was seemless and dog-gone simple. Here is what worked for me(for non-fink users):

    sudo port install freetype sudo port install ghostscript sudo port install imagemagick sudo port install graphicsmagick sudo gem install rmagick

    Source: http://elctech.com/2007/2/24/installing-rmagick-properly-in-osx

  2. ламинат Says:

    1rThank's for greate post.2u I compleatly disagree with last post . lzq паркетная доска 2a

Leave a Reply