Skip to content

Instantly share code, notes, and snippets.

Created December 10, 2015 06:00
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 anonymous/f5c74d6f926eb11fc296 to your computer and use it in GitHub Desktop.
Save anonymous/f5c74d6f926eb11fc296 to your computer and use it in GitHub Desktop.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for main() in -lpthread... yes
*** 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/bin/ruby1.9.1
--with-pthreadlib
--without-pthreadlib
--enable-debug
--disable-debug
/var/lib/gems/1.9.1/gems/libv8-3.11.8.13-x86_64-linux/ext/libv8/location.rb:15:in `initialize': Permission denied - /var/lib/gems/1.9.1/gems/libv8-3.11.8.13-x86_64-linux/ext/libv8/.location.yml (Errno::EACCES)
from /var/lib/gems/1.9.1/gems/libv8-3.11.8.13-x86_64-linux/ext/libv8/location.rb:15:in `open'
from /var/lib/gems/1.9.1/gems/libv8-3.11.8.13-x86_64-linux/ext/libv8/location.rb:15:in `load!'
from /var/lib/gems/1.9.1/gems/libv8-3.11.8.13-x86_64-linux/lib/libv8.rb:6:in `configure_makefile'
from extconf.rb:32:in `<main>'
Gem files will remain installed in /tmp/bundler20151210-19350-1949lnptherubyracer-0.11.3/gems/therubyracer-0.11.3 for inspection.
Results logged to /tmp/bundler20151210-19350-1949lnptherubyracer-0.11.3/gems/therubyracer-0.11.3/ext/v8/gem_make.out
An error occurred while installing therubyracer (0.11.3), and Bundler cannot
continue.
Make sure that `gem install therubyracer -v '0.11.3'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment