This installation applies to the following platform:
OS: Mac OS X 10.3.9, hence the version installed for ImageMagick = 6.2.6 and rmagic = 1.15.14
Rails: 1.2.3
Installation Directory => /usr/local
ImageMagic Pre-requisites
1) Install GNU LibTool
LibTool is required to install the various RMagick delegate libraries as shared libraries. Check to see if you have GNU LibTool, usually installed in /usr/local/bin/libtool. If it’s not there, do this (do check out the latest version from www.gnu.org/software/libtool ):
http://www.gnu.org/software/libtool/
a) downloaded latest version (2.2.4) to desktop and unzip
b) move folder libtool-2.2.4 from desktop to /usr/local
c) $ cd /usr/local/libtool-2.2.4
d) $ ./configure
e) $ make
f) $ sudo make install
2) JPEG Library
This is one of the delegate libraries recommended in the RMagick Install Guide. I thought I’ll need it (get the latest library from www.ijg.org):
a) download JPEG from here and unzip on desktop:
http://rmagick.rubyforge.org/install-faq.html#imprereq
b) move folder jpeg-6b from desktop to /usr/local
c) $ cd /usr/local/jpeg-6b
d) Create symbolic link:
$ ln -s /usr/local/bin/libtool ./libtool
e) $./configure –enable-shared
f) $ make
g) $ sudo make install
3) PNG LIbrary
Get this too if you think you’d be playing with PNGs (home: libpng.sourceforge.net):
a) Download 1.2.29 from here and unzip on desktop:
http://sourceforge.net/project/showfiles.php?group_id=5624
b) move folder libpng-1.2.29 from desktop to /usr/local
c) $ cd /usr/local/libpng-1.2.29
d) $./configure –enable-shared
e) $ make
f) sudo make install
4) FreeType & Ghostscript
It turns out RMagick needs both FreeType and Ghostscript to install properly. (Source: freetype.sourceforge.net, www.cs.wisc.edu/~ghost)
FreeType
a) Download FreeType from here and unzip on desktop:
http://freetype.sourceforge.net/download.html#stable
b) move folder freetype-2.3.5 from desktop to /usr/local
c) $ cd /usr/local/libpng-1.2.29
d) $./configure –enable-shared
e) $ make
f) sudo make install
GhostScript
a) Download ghostscript 8.62 from here and unzip on desktop:
http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl862.htm
b) move folder ghostscript-8.62 from desktop to /usr/local
c) $ cd /usr/local/ghostscript-8.62
d) $./configure –enable-shared
e) $ make
f) sudo make install
5) Ghostscript Fonts
a) download Ghostscript fonts (8.11)from here and unzip on desktop:
http://rmagick.rubyforge.org/install-faq.html#imprereq
b) move folder fonts from desktop to /usr/local/share
6) Tiff Library
a) Download tiff 3.8.2 from here and unzip on desktop:
ftp://ftp.remotesensing.org/libtiff/
b) move folder tiff 3.8.2 from desktop to /usr/local
c) $ cd /usr/local/tiff-3.8.2
d) $./configure –enable-shared
e) $ make
f) sudo make install
Install ImageMagick
7) ImageMagick
a) Installed version 6.2.6 because that’s the latest version that works with OS X 10.3.9
http://www.imagemagick.org
ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.2.6.tar.gz
b) move folder ImageMagick-6.2.6 from desktop to /usr/local
c) $ cd /usr/local/ImageMagick-6.2.6
d) $./configure (see configuration file below before proceeding to next step)
e) $ make
f) sudo make install
After you run ./configure, this is the setting. Make sure Jpeg, Png, Tiff are all set to YES.
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Check that ImageMagick works
$ /usr/local/bin/convert logo: logo.gif
$ convert logo: image.jpg
You shouldn’t get any error when running the above command.
9) install rmagick gem
http://rmagick.rubyforge.org/index.html
$ sudo gem install rmagick -v 1.15.14
This version works with imagemagick 6.2.6
Do this to check that RMagick is installed properly:
$ irb -rubygems -r RMagick
irb(main):001:0> puts Magick::Long_version
This is RMagick 1.15.7 ($Date: 2007/06/09 16:45:25 $) Copyright (C) 2007 by Timothy P. Hunter
Built with ImageMagick 6.3.4 06/13/07 Q8 http://www.imagemagick.org
Built for ruby 1.8.5 (2007-03-13 patchlevel 35) [x86_64-linux]
Web page: http://rmagick.rubyforge.org
Email: rmagick@rubyforge.org
=> nil
10) Need more help? RMagick FAQ:
http://rmagick.rubyforge.org/install-faq.html
11) Install Attachment_fu
a) go to your apps directory and run the following command. The plugin will be installed into vendor/plugins
ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/attachment_fu/