asciidoctor / asciidoctor-mathematical

An extension for Asciidoctor that converts the content of STEM blocks and inline macros using Mathematical.
MIT License
49 stars 44 forks source link

Dependencies "ruby.h" required #38

Closed JanFeld closed 6 years ago

JanFeld commented 6 years ago

Installation exited because it couldn't find ruby.h.

ERROR:  Error installing asciidoctor-mathematical:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.5.0/gems/mathematical-1.6.11/ext/mathematical
/usr/bin/ruby2.5 -r ./siteconf20180620-5797-1shuyzq.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

After installing ruby2.5-dev it worked. Maybe you should mention that as dependencie for installation.

I'm running Debian Testing (Buster) with 4.16.12-1 (2018-05-27) kernel.

ProgramFan commented 6 years ago

This is a mathematical issue and shall be reported there. Thanks any way.