Apologies if this is a silly question but I have only recently started using RubyMine.
I have ImageMagick successfully installed using MacPorts and can Bundle Install Rmagick from the command line with no problem.
However, I am now building a project in RubyMine 3.2.4 (on OS X Lion).
When I try to bundle install the RMagick gem from RubyMine I get the messages below in the console.
ImageMagic is installed in /opt/local/lib/
Any help gratefully received!
Installing rmagick (2.13.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.1. Can't find Magick-config in /Users/Paul_Krause/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/Paul_Krause/.rvm/gems/ruby-1.9.2-p290/bin:/Users/Paul_Krause/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/Paul_Krause/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin
*** 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.
Provided configuration options:
Gem files will remain installed in /Users/Paul_Krause/.rvm/gems/ruby-1.9.2-p290/gems/rmagick-2.13.1 for inspection.
Results logged to /Users/Paul_Krause/.rvm/gems/ruby-1.9.2-p290/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
An error occured while installing rmagick (2.13.1), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.
Process finished with exit code 5