Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/hyejinan/.rvm/rubies/ruby-2.2.5/bin/ruby -r
./siteconf20170324-25168-3oi6k.rb extconf.rb
checking for gcc... yes
checking for Magick-config... no
checking for pkg-config... yes
checking for outdated ImageMagick version (<= 6.4.9)... no
checking for presence of MagickWand API (ImageMagick version >= 6.9.0)... no
checking for Ruby version >= 1.8.5... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... no
Can't install RMagick 2.16.0. Can't find MagickWand.h.
*** 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:
extconf failed, exit code 1
Gem files will remain installed in
/Users/hyejinan/.rvm/gems/ruby-2.2.5/gems/rmagick-2.16.0 for inspection.
Results logged to
An error occurred while installing rmagick (2.16.0), and Bundler cannot
Make sure that `gem install rmagick -v '2.16.0'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment