Skip to content

Instantly share code, notes, and snippets.

@vibinnair
Last active December 10, 2015 21:08
Show Gist options
  • Save vibinnair/4492844 to your computer and use it in GitHub Desktop.
Save vibinnair/4492844 to your computer and use it in GitHub Desktop.
bundle-error whle installing rmagic gem
Installing rmagick (2.12.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/vibin/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
extconf.rb:107: Use RbConfig instead of obsolete and deprecated Config.
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.12.2. Can't find Magick-config in /home/vibin/.rvm/gems/ruby-1.9.3-p194/bin:/home/vibin/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/vibin/.rvm/rubies/ruby-1.9.3-p194/bin:/home/vibin/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
*** 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
--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=/home/vibin/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
Gem files will remain installed in /home/vibin/.rvm/gems/ruby-1.9.3-p194/gems/rmagick-2.12.2 for inspection.
Results logged to /home/vibin/.rvm/gems/ruby-1.9.3-p194/gems/rmagick-2.12.2/ext/RMagick/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment