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

Install pygments gem during web deployment #58

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

samcowger
Copy link
Contributor

Though my local build of the tutorial has C syntax highlighting, the deployed version does not. Looking at the logs of a recent deployment, I see the following:

<...>
Create build/tutorial.adoc
cp -r src/images build/images
asciidoctor --doctype book build/tutorial.adoc -o build/tutorial.html
asciidoctor: WARNING: optional gem 'pygments.rb' is not available (reason: cannot load 'pygments'). Functionality disabled.
cd build; zip -r exercises.zip exercises > /dev/null

I tried making this change and running the publishing workflow on my own fork, and it worked there, so I certainly hope it will work here as well.

@cp526 cp526 merged commit 43f29e3 into rems-project:main Jul 22, 2024
1 check passed
@samcowger samcowger deleted the sc/pygments-gem branch July 22, 2024 20:37
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 this pull request may close these issues.

2 participants