Skip to content

Commit 74cde70

Browse files
committed
Gemfile: pin nokogiri to main on aarch64-mingw-ucrt
sparklemotion/nokogiri#3530 is merged fixing the loader config on windows-11-arm, but has not yet landed in a release. Pin to `main` on the affected platform only, to unblock CI until a fixed nokogiri release ships.
1 parent 3275409 commit 74cde70

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ platforms :mri, :windows do
2020
end
2121

2222
gem "onigmo", platforms: :ruby
23+
24+
# Until a nokogiri release includes sparklemotion/nokogiri#3530, aarch64-mingw-ucrt
25+
# source-builds of libxml2 fail in libtool. Pin to main on that platform only.
26+
if RUBY_PLATFORM =~ /aarch64.*mingw/
27+
gem "nokogiri", github: "sparklemotion/nokogiri", branch: "main"
28+
end

0 commit comments

Comments
 (0)