Last Updated: February 25, 2016
·
1.017K
· mikepack

BitNami ImageMagick w/ rmagick 2.13.2

1. sudo apt-get -y install libmagickwand-dev

2. sudo vim /etc/sudoers

3. After Defaults env_reset, add:

Defaults env_keep += "C_INCLUDE_PATH PKG_CONFIG_PATH"

4. Add to ~/.bachrc:

export C_INCLUDE_PATH="/opt/bitnami/common/include/ImageMagick:$C_INCLUDE_PATH"

export PKG_CONFIG_PATH="/opt/bitnami/common/lib/pkgconfig:$PKG_CONFIG_PATH"

5. sudo gem install rmagick -v 2.13.2