From 25d1bbff796f25dee32d6b6051afe6915a0f49e2 Mon Sep 17 00:00:00 2001 From: Takumi Shotoku Date: Sun, 10 May 2026 21:26:09 +0900 Subject: [PATCH] Use bundled Bundler on ruby-head in CI Released Bundler is broken on ruby-head due to ruby/ruby#16895. The fix (rubygems/rubygems#9529) has not been released yet. --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb5d5020..e493c299 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,10 @@ jobs: rubyopt: "--enable-frozen-string-literal" runs-on: ubuntu-latest timeout-minutes: 10 + env: + # Released Bundler is broken on ruby-head due to ruby/ruby#16895. + # Use Ruby's bundled Bundler until rubygems/rubygems#9529 is released. + BUNDLER_VERSION: ${{ case(matrix.ruby == 'head', '0', '') }} steps: - uses: actions/checkout@v4 - name: Set up Ruby