Skip to content

Instantly share code, notes, and snippets.

@powerwlsl
Created March 24, 2017 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save powerwlsl/524e50ae8786849dd6a4107bdb5ccdd6 to your computer and use it in GitHub Desktop.
Save powerwlsl/524e50ae8786849dd6a4107bdb5ccdd6 to your computer and use it in GitHub Desktop.
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:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/hyejinan/.rvm/rubies/ruby-2.2.5/bin/$(RUBY_BASE_NAME)
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
/Users/hyejinan/.rvm/gems/ruby-2.2.5/extensions/x86_64-darwin-16/2.2.0-static/rmagick-2.16.0/gem_make.out
An error occurred while installing rmagick (2.16.0), and Bundler cannot
continue.
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