Skip to content

Commit 92242d1

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 3c1987c commit 92242d1

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
@@ -19,3 +19,9 @@ platforms :mri, :windows do
1919
end
2020

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

0 commit comments

Comments
 (0)