Skip to content

Instantly share code, notes, and snippets.

@troyk
Created July 22, 2011 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save troyk/1098836 to your computer and use it in GitHub Desktop.
Save troyk/1098836 to your computer and use it in GitHub Desktop.
How to install RMagick on OS X
# download ImageMagick source from http://www.imagemagick.org/script/advanced-unix-installation.php
# get and install libjpeg
curl -O http://www.ijg.org/files/jpegsrc.v8c.tar.gz
cd jpeg-8c
./configure --enable-shared --prefix=/usr/local
make
sudo make install
# install imagemagick
cd ../ImageMagick-6.7.1-0
./configure --prefix=/usr/local
# (verify jpeg support == 'yes')
make
sudo make install
# and finally, the gem! (I use local rvm, so no sudo)
gem install rmagick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment