title: Error installing Rmagick on Mountain Lion
body: <p>I have seen other people with the same issue of <a href="https://stackoverflow.com/questions/11676844/issue-with-installing-imagemagick-and-rmagick-on-mountain-lion">installing RMagick on Mountain Lion</a> However none of the suggested solutions have allowed me to successfully install rmagick. </p>
  
  <p>Here is the error message I am getting:</p>
  
  <pre><code>Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  checking for Ruby version &gt;= 1.8.5... yes
  checking for /usr/local/bin/gcc-4.2... yes
  checking for Magick-config... yes
  checking for ImageMagick version &gt;= 6.4.9... yes
  checking for HDRI disabled version of ImageMagick... yes
  checking for stdint.h... yes
  checking for sys/types.h... yes
  checking for wand/MagickWand.h... yes
  checking for InitializeMagick() in -lMagickCore... no
  checking for InitializeMagick() in -lMagick... no
  checking for InitializeMagick() in -lMagick++... no
  Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the dependent    libraries. Check the mkmf.log file for more detailed information.
  
  *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of
  necessary libraries and/or headers.  Check the mkmf.log file for more
  details.  You may need configuration options.
  </code></pre>
  
  <p>Things I have done:</p>
  
  <pre><code>Installed XCode
  Installed the command line tools
  Installed XQuartz
  Installed homebrew with imagemagick library
  Installed most recent version of RVM
  Symlinked GCC
  Uninstalled and reinstalled both RVM and imagemagick
  </code></pre>
  
  <p>Any ideas why I still can't download rmagick?</p>