Skip to content

Instantly share code, notes, and snippets.

@mcquin
Created October 15, 2014 16:55
Show Gist options
  • Save mcquin/bad5fe71fad671d9a491 to your computer and use it in GitHub Desktop.
Save mcquin/bad5fe71fad671d9a491 to your computer and use it in GitHub Desktop.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/opt/chefdk/embedded/bin/ruby -r ./siteconf20141015-17430-14jsbrj.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
--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=/opt/chefdk/embedded/bin/ruby
/opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1573:in `stat': No such file or directory @ rb_file_s_stat - ./213/ruby_debug.h (Errno::ENOENT)
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1573:in `block in fu_each_src_dest'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1587:in `fu_each_src_dest0'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1571:in `fu_each_src_dest'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:399:in `cp'
from extconf.rb:83:in `block in <main>'
from extconf.rb:82:in `each'
from extconf.rb:82:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /var/folders/44/j7bw056n5b3_thn9fkxktb7m0000gp/T/bundler20141015-17430-1cj8oc8/debugger-1.6.8/gems/debugger-1.6.8 for inspection.
Results logged to /var/folders/44/j7bw056n5b3_thn9fkxktb7m0000gp/T/bundler20141015-17430-1cj8oc8/debugger-1.6.8/extensions/x86_64-darwin-12/2.1.0/debugger-1.6.8/gem_make.out
An error occurred while installing debugger (1.6.8), and Bundler cannot continue.
Make sure that `gem install debugger -v '1.6.8'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment