Skip to content

Commit 809c3d4

Browse files
committed
Use latest bundler if Ruby version is 3 or higher
Previously, it attemps to install bundler 2.4.21 while Ruby version is 3.4. https://github.com/rails/thor/actions/runs/13782104138/job/38542040661?pr=899 ``` /opt/hostedtoolcache/Ruby/3.4.2/x64/bin/gem install bundler -v 2.4.21 Successfully installed bundler-2.4.21 1 gem installed Took 0.37 seconds ```
1 parent 3be02d3 commit 809c3d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
- uses: ruby/setup-ruby@v1
1313
with:
1414
ruby-version: ${{ matrix.ruby }}
15-
bundler: ${{ (matrix.ruby_version < '3' && '2.4.21') || 'latest' }}
15+
bundler: ${{ (matrix.ruby < '3' && '2.4.21') || 'latest' }}
1616
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
1717
- run: bundle exec thor spec

0 commit comments

Comments
 (0)