Skip to content

Commit 42b53a3

Browse files
justin808claude
andcommitted
Update CI workflow to use x86_64-linux-gnu platform
Nokogiri 1.18.10+ uses x86_64-linux-gnu instead of x86_64-linux as the platform identifier. Updated the CI workflow to use the correct platform and removed the arm64-darwin-24 platform from Gemfile.lock to keep it consistent with CI expectations. This fixes the check_react_and_ujs test failures where Gemfile.lock was being modified during CI runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent fe3a74e commit 42b53a3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
path: vendor/bundle
4848
key: root-gem-cache-${{ hashFiles('Gemfile.lock') }}
4949
- name: Install Ruby Gems
50-
run: bundle lock --add-platform 'x86_64-linux' && bundle check --path=vendor/bundle || bundle _2.4.9_ install --path=vendor/bundle --jobs=4 --retry=3
50+
run: bundle lock --add-platform 'x86_64-linux-gnu' && bundle check --path=vendor/bundle || bundle _2.4.9_ install --path=vendor/bundle --jobs=4 --retry=3
5151
- run: yarn
5252
- run: bundle exec rake react:update
5353
- run: bundle exec rake ujs:update
@@ -114,7 +114,7 @@ jobs:
114114
path: test/dummy/vendor/bundle
115115
key: dummy-app-gem-cache-${{ hashFiles(format('{0}/gemfiles/{1}.gemfile.lock', github.workspace, matrix.gemfile)) }}
116116
- name: Install Ruby Gems for dummy app
117-
run: bundle lock --add-platform 'x86_64-linux' && bundle check --path=test/dummy/vendor/bundle || bundle _2.4.9_ install --frozen --path=test/dummy/vendor/bundle --jobs=4 --retry=3
117+
run: bundle lock --add-platform 'x86_64-linux-gnu' && bundle check --path=test/dummy/vendor/bundle || bundle _2.4.9_ install --frozen --path=test/dummy/vendor/bundle --jobs=4 --retry=3
118118
- run: cd test/dummy && yalc add react_ujs && ${{ matrix.js_package_manager.installer }} install
119119
- run: bundle exec rake test
120120
env:

Gemfile.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ GEM
171171
net-smtp (0.5.0)
172172
net-protocol
173173
nio4r (2.7.3)
174-
nokogiri (1.18.10-arm64-darwin)
175-
racc (~> 1.4)
176174
nokogiri (1.18.10-x86_64-darwin)
177175
racc (~> 1.4)
178176
nokogiri (1.18.10-x86_64-linux-gnu)
@@ -254,7 +252,6 @@ GEM
254252
zeitwerk (2.6.6)
255253

256254
PLATFORMS
257-
arm64-darwin-24
258255
x86_64-darwin-20
259256
x86_64-linux
260257
x86_64-linux-gnu

0 commit comments

Comments
 (0)