Skip to content

Commit 9345a38

Browse files
committed
Use system libraries for nokogiri
When running on ruby-head, nokogiri will need to compile itself. However, it also needs to download external sources like iconv and zlib. The mirrors it uses for that are pretty unreliable.
1 parent e6c6959 commit 9345a38

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
env:
112112
PRISM_FFI_BACKEND: "true"
113113
BUNDLE_GEMFILE: gemfiles/${{ matrix.target.gemfile }}/Gemfile
114+
NOKOGIRI_USE_SYSTEM_LIBRARIES: "true"
114115
steps:
115116
- uses: actions/checkout@v6
116117
- name: Set up Ruby
@@ -302,6 +303,7 @@ jobs:
302303
- { ruby: "jruby", os: "windows-latest", gemfile: ".." }
303304
env:
304305
BUNDLE_GEMFILE: gemfiles/${{ matrix.target.gemfile }}/Gemfile
306+
NOKOGIRI_USE_SYSTEM_LIBRARIES: "true"
305307
runs-on: ${{ matrix.target.os }}
306308
steps:
307309
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)