Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support later version of rouge #925

Closed
roganjoshua opened this issue Jun 3, 2020 · 3 comments · Fixed by #928
Closed

Support later version of rouge #925

roganjoshua opened this issue Jun 3, 2020 · 3 comments · Fixed by #928

Comments

@roganjoshua
Copy link

roganjoshua commented Jun 3, 2020

org.asciidoctor.jruby.internal.AsciidoctorCoreException: org.jruby.exceptions.NameError: (NameError) asciidoctor: FAILED: /index.adoc: Failed to load AsciiDoc document - uninitialized constant Rouge::Lexers

As I understand it, rouge needs to be updated to 3.19.0+ in asciidoctorj

@mojavelinux
Copy link
Member

Here are the related issues to understand why this is necessary:

Both libraries were at fault, but fortunately rouge got a release out first that fixes the issue.

@robertpanzer
Copy link
Member

I just released 2.3.1 which should contain the fix for this. /cc: @ahus1

@ahus1
Copy link
Contributor

ahus1 commented Jun 17, 2020

Thanks @robertpanzer. The fix works and no longer throws the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants