install rmagick on osx with homebrew
Just posting this here because it takes me like 10 google searches to find it every time I need it
first run this to find the right directory:
mdfind MagickWand.h
then run this in the correct rvm gemset, with the paths replaced from the result:
PKG_CONFIG_PATH=/usr/local/Cellar/imagemagick/6.8.7-0/lib/pkgconfig C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/6.8.7-0/include/ImageMagick-6/ gem install rmagick
Written by Brian Samson
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#