Login  Register

nokogiri error when installing asciidoctor-epub3

Posted by mbc on Feb 14, 2019; 6:15pm
URL: https://discuss.asciidoctor.org/nokogiri-error-when-installing-asciidoctor-epub3-tp6733.html

Hi!

I'm getting the following error when installing asciidoctor-epub3 in Windows:

>gem install asciidoctor-epub3 --pre
ERROR:  Error installing asciidoctor-epub3:
        nokogiri requires Ruby version < 2.4, >= 1.9.2.

These are my current installed versions of ruby and nokogiri:

> ruby --version
ruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32]

> nokogiri --version
# Nokogiri (1.10.1)

I'm afraid I have to downgrade ruby.
But, is there any other solution?