Skip to content

Commit a1bfd2b

Browse files
authored
Merge pull request #472 from barthel/patch-1
fix(epub) correct error `cannot load such file -- nokogiri/nokogiri` on `arm64`
2 parents 918deab + 38a8977 commit a1bfd2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ RUN apk add --no-cache --virtual .rubymakedepends \
146146
"chunky_png:${CHUNKY_PNG_VERSION}" \
147147
&& apk del -r --no-cache .rubymakedepends \
148148
# Fixes an issue with 2 nokogiri versions breaking asciidoctor-epub3 on arm64
149-
&& if [[ ${TARGETARCH} == arm64 ]]; then gem uninstall nokogiri -v '1.16.0'; fi
149+
&& if [ "$TARGETARCH" = "arm64" ]; then gem uninstall nokogiri -v '> 1.14'; fi
150150

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

0 commit comments

Comments
 (0)