Configuring ImageMagick and RMagick to play nice

Using homebrew on OSX Mavericks

Thomas V.

2 minute read

Sometimes it takes a little work to get ruby gems and homebrew installs working properly on your Mac. The error message below shows that bundler is having trouble finding the MagickWand.h header file. pkg-config is a super useful helper tool that will help ruby gems find installed libraries. 19:11:06 $ thomas@bear arthouse (master): bundle install Fetching source index from https://rubygems.org/ Installing rmagick (2.13.2) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.