

The issue is that ruby.h is present on my machine (this is Fedora 26), albeit in a different location: /usr/include/ruby.h Jekyll-commonmark was resolved to 1.2.0, which depends on Jekyll-commonmark-ghpages was resolved to 0.1.5, which depends on Github-pages was resolved to 182, which depends on Make sure that gem install commonmarker -v '0.17.9' succeeds before bundling. Results logged to /home/vincent/.gem/ruby/extensions/x86_64-linux/2.4.0/commonmarker-0.17.9/gem_make.outĪn error occurred while installing commonmarker (0.17.9), and Bundler cannot continue. Gem files will remain installed in /home/vincent/.gem/ruby/gems/commonmarker-0.17.9 for inspection. Mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h Try: gem pristine nokogiri -version 1.7.1 Ignoring nokogiri-1.7.1 because its extensions are not built. Ignoring json-1.8.6 because its extensions are not built. Ignoring ffi-1.9.18 because its extensions are not built. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.Ĭurrent directory: /home/vincent/.gem/ruby/gems/commonmarker-0.17.9/ext/commonmarker Installing commonmarker 0.17.9 with native extensions It fails when trying to build/install commonmarker: I am trying to install Jekyll locally as per the official instructions. Hi there, sorry for respawning the thread but I preferred to do so as I think it applies to my issue.

Gem files will remain installed in C:/Ruby24-圆4/lib/ruby/gems/2.4.0/gems/commonmarker-0.17.6 for inspection. To see why this extension failed to compile, please check the mkmf.log which can be found here:Ĭ:/Ruby24-圆4/lib/ruby/gems/2.4.0/extensions/圆4-mingw32/2.4.0/commonmarker-0.17.6/mkmf.log Check the mkmf.log file for more details. Configuring incomplete, errors occurred!Ĭould not create Makefile due to some reason, probably lack of necessary You probably need to select a different build tool.ĬMake Error: CMAKE_C_COMPILER not set, after EnableLanguageĬMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguageĬMake Error: CMAKE_AR was not found, please set to archive program. siteconf20171204-5804-1t48xd0.rb extconf.rbĬMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". This could take a while.ĮRROR: Failed to build gem native extension.Ĭurrent directory: C:/Ruby24-圆4/lib/ruby/gems/2.4.0/gems/commonmarker-0.17.6/ext/commonmarkerĬ:/Ruby24-圆4/bin/ruby.exe -r. Temporarily enhancing PATH for MSYS/MINGW.īuilding native extensions.
