Skip to content

Instantly share code, notes, and snippets.

@sandsu
Forked from jaymecd/gem_install_rmagick.md
Created December 11, 2015 14:09
Show Gist options
  • Save sandsu/0cb821603e8e6ffc94fb to your computer and use it in GitHub Desktop.
Save sandsu/0cb821603e8e6ffc94fb to your computer and use it in GitHub Desktop.
gem install rmagick -v '2.13.2' (Debian Jessie)

gem install rmagick -v '2.13.2' (Debian Jessie)

sudo apt-get install ImageMagick libmagickcore-dev libmagickwand-dev libmagick++-dev

IMAGICK=$(find /usr/lib -type f -name Magick-config | grep bin | grep Magick-config | tail -n 1)
if [ -z "${IMAGICK}" ]; then
    echo "Magick-config was not found"
else 
    ln -nfs "${IMAGICK}" /usr/local/bin/Magick-config
    echo "Magick-config is linked"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment