Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Created June 8, 2016 21:48
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 thoraxe/771212b86b9179a9f6efa05db241cf39 to your computer and use it in GitHub Desktop.
Save thoraxe/771212b86b9179a9f6efa05db241cf39 to your computer and use it in GitHub Desktop.
Installing charlock_holmes 0.7.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/src/gitlab-ce-v8.8.1/vendor/bundle/ruby/2.1.0/gems/charlock_holmes-0.7.3/ext/charlock_holmes
/usr/local/bin/ruby -r ./siteconf20160608-29-eb6wgf.rb extconf.rb
*** 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=/usr/local/bin/ruby
extconf.rb:12:in ``': No such file or directory - which (Errno::ENOENT)
from extconf.rb:12:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /usr/local/src/gitlab-ce-v8.8.1/vendor/bundle/ruby/2.1.0/gems/charlock_holmes-0.7.3 for inspection.
Results logged to /usr/local/src/gitlab-ce-v8.8.1/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/charlock_holmes-0.7.3/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment