Skip to content

Instantly share code, notes, and snippets.

@jaymecd
Last active March 26, 2018 14:11
Show Gist options
  • Save jaymecd/215543b844e1a3edab1c to your computer and use it in GitHub Desktop.
Save jaymecd/215543b844e1a3edab1c 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