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
Written by Mike Pack
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#