Skip to content

Commit

Permalink
Merge pull request #472 from barthel/patch-1
Browse files Browse the repository at this point in the history
fix(epub) correct error `cannot load such file -- nokogiri/nokogiri` on `arm64`
  • Loading branch information
dduportal committed Sep 16, 2024
2 parents 918deab + 38a8977 commit a1bfd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ RUN apk add --no-cache --virtual .rubymakedepends \
"chunky_png:${CHUNKY_PNG_VERSION}" \
&& apk del -r --no-cache .rubymakedepends \
# Fixes an issue with 2 nokogiri versions breaking asciidoctor-epub3 on arm64
&& if [[ ${TARGETARCH} == arm64 ]]; then gem uninstall nokogiri -v '1.16.0'; fi
&& if [ "$TARGETARCH" = "arm64" ]; then gem uninstall nokogiri -v '> 1.14'; fi

# Specific pipx environement variables to ensure binaries (and docs, etc.) are available for all users
# See https://github.com/pypa/pipx/blob/main/docs/installation.md#installation-options
Expand Down

0 comments on commit a1bfd2b

Please sign in to comment.