Setting up rmagick (needs ImageMagick 6.3.x) on Ubuntu
I wanted to update rmagick to the latest version of the gem, so I ran “sudo gem install rmagick”. The version that was going to be installed was 2.1.0, and it needed ImageMagick lib 6.3.x.
I went ahead and downloadoaded 6.3.8 from ImageMagick site (couldn’t use apt-get this time, latest version on repositories I found was 6.2.4.5). I had a previous version of imagemagick laying on my system. So I ran:
- sudo apt-get remove imagemagick
- tar xvvzf ImageMagick.tar.gz
- cd ImageMagick
- ./configure –prefix=/usr
- make
- sudo make install
- sudo gem install rmagick
- sudo gem install rmagick -v 1.15.12 if you want rmagick v1 installed.
That’s all!

Use this to download ImageMagick:
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.8-11.tar.gz
that got me going, however I had trouble with the fonts when I tried to convert pdf/ps files. this was easy to fix with:
./configure –prefix=/usr –with-gs-font-dir=/usr/share/fonts/type1/gsfonts
Optionally, you can fix it without recompiling:
sudo ln -s /usr/share/fonts/type1/gsfonts/ /usr/share/ghostscript/fonts
Gracias!
I was stuck with this. Last time I just installed rmagick library, instead of trying to compile from the source.
-Yeameen