ruby on rails - Gem::Ext::BuildError: ERROR: Failed to build gem native extension. - tharindu -
gem::ext::builderror: error: failed build gem native extension.
c:/railsinstaller/ruby2.1.0/bin/ruby.exe extconf.rb
invalid drive specification. unable imagemagick version * extconf.rb failed * not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. 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=c:/railsinstaller/ruby2.1.0/bin/ruby
extconf failed, exit code 1
gem files remain installed in c:/railsinstaller/ruby2.1.0/lib/ruby/gems/2.1 .0/gems/rmagick-2.15.2 inspection. results logged c:/railsinstaller/ruby2.1.0/lib/ruby/gems/2.1.0/extensions/x86 -mingw32/2.1.0/rmagick-2.15.2/gem_make.out error occurred while installing rmagick (2.15.2), , bundler cannot continue. make sure gem install rmagick -v '2.15.2'
succeeds before bundling.
e:\redmine-master\bin>gem install rmagick -v '2.15.2' temporarily enhancing path include devkit... building native extensions. take while... error: error installing rmagick: error: failed build gem native extension.
c:/railsinstaller/ruby2.1.0/bin/ruby.exe extconf.rb
invalid drive specification. unable imagemagick version * extconf.rb failed * not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. 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=c:/railsinstaller/ruby2.1.0/bin/ruby
extconf failed, exit code 1
gem files remain installed in c:/railsinstaller/ruby2.1.0/lib/ruby/gems/2.1 .0/gems/rmagick-2.15.2 inspection. results logged c:/railsinstaller/ruby2.1.0/lib/ruby/gems/2.1.0/extensions/x86 -mingw32/2.1.0/rmagick-2.15.2/gem_make.out
this worked me:
brew install imagemagick gem install rmagick
Comments
Post a Comment