Render Static Site - Is AsciiDoc Supported?

I’m using Hugo, Render, and GitHub and getting this error in Render on deploy when using AsciiDoc content:

==> Running build command ‘hugo --gc --minify’…
hugo: downloading modules …
hugo: collected modules in 5138 ms
Start building sites …
hugo v0.95.0-9F2E76AF+extended linux/amd64 BuildDate=2022-03-16T14:20:19Z VendorInfo=gohugoio
ERROR 2022/05/14 21:36:46 asciidoctor not found in $PATH: Please install.
Leaving AsciiDoc content unrendered.
Error: Error building site: logged 1 error(s)
Total in 5236 ms
==> Build failed :disappointed:

It looks like Render’s environment doesn’t have asciidoctor installed. Is it possible to install this?

Or is there another way to display AsciiDoc content with Render and Hugo?

(This website was deploying successfully prior to adding the asciidoc content.
It also works locally with asciidoc, as I have asciidoctor installed there.)

Thanks for the help.

Hi there,

Thanks for reaching out.

The Render static environment doesn’t come with Asciidoctor, so you’d likely have to install it first, for example you could try prefixing your current build command with gem install asciidoctor; so it would become something like gem install asciidoctor; your-existing-build-command;

Hope that helps


Hi Alan,

Thank you for the information and suggested solution.

I was able to build successfully by prefixing the build command with gem install --user-install asciidoctor;.

(Note: gem install asciidoctor installed asciidoctor, but the Hugo build failed.)

Thank you for your help.

Thanks for the update and for sharing the solution.

Also, thanks for using Render!