Your pointer on the JRuby Version is really great…
Downgrading to 1.7.21 is the solution.
Pull request to add a graphviz example in the asciidoctor-maven-examples:
https://github.com/asciidoctor/asciidoctor-maven-examples/pull/36I have tried 1.7.23:
[INFO] --- asciidoctor-maven-plugin:1.5.2.1:process-asciidoc (generate-html-doc) @ asciidoctor-diagram-example ---
io/console not supported; tty will not be manipulated
[WARNING] Using inherited external environment to resolve gems (C:/****/git/asciidoctor-maven-examples/asciidoctor-diagram-example/target/gems-provided), i.e. build is platform dependent!
asciidoctor-diagram: ERROR: Failed to generate image: Unable to find a non world-writable directory for Dir::tmpdir. Consider setting ENV['TMPDIR'], ENV['TMP'] or ENV['TEMP'] to a non world-writable directory.
[INFO] Rendered C:\****\git\asciidoctor-maven-examples\asciidoctor-diagram-example\src\docs\asciidoc\example-manual.adoc
This is strange because I think the variables are defined…
>echo %TMPDIR%
%TMPDIR%
>echo %TMP%
C:\****\AppData\Local\Temp
>echo %TEMP%
C:\****\AppData\Local\Temp
PS: Yes I am on Windows… and I am not really happy with it…