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

AsciiDoctor task does not support Rouge on MS Windows [SPR-15471] #20031

Closed
spring-projects-issues opened this issue Apr 20, 2017 · 4 comments
Closed
Assignees
Labels
type: task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Apr 20, 2017

Andrei Precup opened SPR-15471 and commented

When running the asciidoctor task on Windows, Gradle gives the following error:

(RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted.
:asciidoctor FAILED

The ruby, jruby and ruby-devkit are installed.
This problem doesn't appear on Linux and Mac systems.


Affects: 5.0 M5

Issue Links:

  • #19564 Move to pure Asciidoctor for documentation

Referenced from: commits 55833dc

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 20, 2017

Sam Brannen commented

FYI: this is a known issue in AsciiDoctor: asciidoctor/asciidoctor#1040

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 20, 2017

Andrei Precup commented

FYI: a local workaround is to remove the "pdf" from

backends = ["html5", "pdf"]

in docs.gradle

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 22, 2017

Sam Brannen commented

Dan Allen has filed an official bug report here: rouge-ruby/rouge#661

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 22, 2017

Sam Brannen commented

We are currently discontinuing use of Rouge until it is supported on MS Windows.

See commit: 55833dc

Resolving this issue.

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

No branches or pull requests

2 participants