You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've got this strange error during installation of ffi-yajli. My ruby version is 2.3.0 and libyajl2 version 1.2.0 is installed see local-gems.txt.
And I'm using Ubuntu 16.04.2 LTS.
Any ideas? Any help?
Thanks
Stacktrace:
Building native extensions. This could take a while...
ERROR: Error installing ffi-yajl:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.3.0/gems/ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder
/usr/bin/ruby2.3 -r ./siteconf20170629-16055-wtpqe8.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/bin/$(RUBY_BASE_NAME)2.3
extconf.rb:9:in `<main>': undefined method `include_path' for Libyajl2:Module (NoMethodError)
Did you mean? include
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.3.0/gems/ffi-yajl-2.3.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-yajl-2.3.1/gem_make.out
The text was updated successfully, but these errors were encountered:
Okay, I found a solution for my problem. First I uninstalled every ruby thing with sudo apt remove ruby. Afterwards I installed ruby as described here. Now I use ruby version 2.4.0. Now bundle install runs without any error.
Idk if the newer ruby version helped or if the ruby from the ubuntu packages was the cause of the error.
Hi,
i've got this strange error during installation of ffi-yajli. My ruby version is 2.3.0 and libyajl2 version 1.2.0 is installed see local-gems.txt.
And I'm using Ubuntu 16.04.2 LTS.
Any ideas? Any help?
Thanks
Stacktrace:
The text was updated successfully, but these errors were encountered: