I am using Homebrew v0.9.5 on my Mac OS X version 10.9.4
When I run the command: `brew install imagemagick, this error occurred.
$ brew install imagemagi
Follow this:
brew install imagemagick@6
Add below lines in to ~/.bash_profile file
export LDFLAGS="-L/usr/local/opt/imagemagick@6/lib" export
CPPFLAGS="-I/usr/local/opt/imagemagick@6/include" export
PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig"
Install Rmagick
source ~/.bash_profile
gem install rmagick