Skip to content

Commit 0b39c02

Browse files
yahondaclaude
andcommitted
ci: Drop Bundler 4.0.6 pin now that Bundler 4.0.12 ships the fix
The RuboCop workflow pinned Bundler to 4.0.6 in #2767 to dodge ruby/rubygems#9536, which broke BUNDLE_ONLY-filtered resolves against the multi-gemspec rails/rails git source. ruby/rubygems#9544 fixed the regression, and Bundler 4.0.12 (2026-05-20) ships the fix: https://blog.rubygems.org/2026/05/20/4.0.12-released.html Remove the workaround and let setup-ruby's `rubygems: latest` pick up the fixed Bundler. Also add `rubygems: latest` to linting.yml for consistency with every other workflow that runs setup-ruby. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5add648 commit 0b39c02

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/linting.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
uses: ruby/setup-ruby@v1
1212
with:
1313
ruby-version: 4.0
14+
rubygems: latest
1415
- name: Yamllint
1516
uses: karancode/yamllint-github-action@master
1617
with:

.github/workflows/rubocop.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,13 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13-
env:
14-
BUNDLER_VERSION: 4.0.6
1513
steps:
1614
- uses: actions/checkout@v6
1715
- name: Set up Ruby 4.0
1816
uses: ruby/setup-ruby@v1
1917
with:
2018
ruby-version: 4.0
21-
- name: Pin Bundler to 4.0.6 (workaround for ruby/rubygems#9536)
22-
run: |
23-
gem install bundler -v 4.0.6
24-
ruby --version
25-
gem --version
26-
bundle --version
19+
rubygems: latest
2720
- name: Build and run RuboCop
2821
run: |
2922
BUNDLE_ONLY=rubocop bundle install --jobs 4 --retry 3

0 commit comments

Comments
 (0)