Skip to content

Commit a3d8beb

Browse files
committed
Fix bundler in CI
[Bundler 2.5 dropped support for Ruby 2.7](https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.0). Since we are testing with Ruby 2.7, we should pin the version of Bundler to 2.4.x since this is the last version that's compatible with 2.7.
1 parent fb9278e commit a3d8beb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: |
4646
sudo apt-get -yqq install libpq-dev postgresql-client
4747
createdb que-test
48-
gem install bundler
48+
gem install bundler --version '~> 2.4.22'
4949
bundle install --jobs 4 --retry 3
5050
USE_RAILS=true bundle exec rake test
5151
bundle exec rake test

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get update \
55
&& apt-get install -y libpq-dev \
66
&& rm -rf /var/lib/apt/lists/*
77

8-
ENV RUBY_BUNDLER_VERSION 2.3.7
8+
ENV RUBY_BUNDLER_VERSION 2.4.22
99
RUN gem install bundler -v $RUBY_BUNDLER_VERSION
1010

1111
ENV BUNDLE_PATH /usr/local/bundle

0 commit comments

Comments
 (0)