Created
September 4, 2017 04:46
-
-
Save vochicong/c35fc98cdabdec89278939eee5ae7d75 to your computer and use it in GitHub Desktop.
install rmagic on mac
This file contains hidden or 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
brew install imagemagick@6 | |
export PATH="/usr/local/opt/imagemagick@6/bin:$PATH" | |
export LDFLAGS=-L/usr/local/opt/imagemagick@6/lib:$LDFLAGS | |
export CPPFLAGS=-I/usr/local/opt/imagemagick@6/include:$CPPFLAGS | |
export PKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig:$PKG_CONFIG_PATH | |
gem install rmagic | |
# https://stackoverflow.com/questions/10063051/bundle-cant-install-rmagick-gem-on-mac-osx-10-7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment