Skip to content

Commit e482be2

Browse files
committed
Use bundled Bundler on ruby-head in CI
Released Bundler is broken on ruby-head due to ruby/ruby#16895. The fix (ruby/rubygems#9529) has not been released yet.
1 parent 1d0cf7f commit e482be2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
rubyopt: "--enable-frozen-string-literal"
2828
runs-on: ubuntu-latest
2929
timeout-minutes: 10
30+
env:
31+
# Released Bundler is broken on ruby-head due to ruby/ruby#16895.
32+
# Use Ruby's bundled Bundler until rubygems/rubygems#9529 is released.
33+
BUNDLER_VERSION: ${{ case(matrix.ruby-version == 'head', '0', '') }}
3034
steps:
3135
- uses: actions/checkout@v4
3236
- name: Set up Ruby

0 commit comments

Comments
 (0)