From f7a7b257aaae27f1ed876808fb905f9988290ef1 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 27 May 2026 08:33:38 +0900 Subject: [PATCH] Replace deprecated bundle install --path with bundle config Bundler 4.0 removed the `--path` flag, breaking the Ruby 4.0 CI job. Split the step into `bundle config set --local path` and `bundle install`, which works on both bundler 2.x (Ruby 3.2-3.4) and 4.x (Ruby 4.0). --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d37f7c1..4ee3e89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,8 @@ jobs: key: ${{ runner.os }}-${{ matrix.ruby-version }} - uses: actions/checkout@v3 - run: 'apt-get update && apt-get install -y --no-install-recommends nginx' - - run: 'bundle install --path ~/bundle' + - run: 'bundle config set --local path ~/bundle' + - run: 'bundle install' - run: 'bundle exec rspec -fd' #docker-build: