Created
July 22, 2011 03:34
-
-
Save troyk/1098836 to your computer and use it in GitHub Desktop.
How to install RMagick on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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