Skip to content

Commit 846bd14

Browse files
ci: not use our ruby installation script for ruby 2.4
Error: ``` Could not find a valid gem 'bundler' (~> 2.3.0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz) ``` See: ruby/rubygems#1736
1 parent aca755d commit 846bd14

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,23 @@ jobs:
7878
- run: rm Gemfile.lock
7979

8080
- name: Install OpenSSL
81+
if: matrix.ruby != '2.4'
8182
uses: ./.github/actions/install-openssl
8283
with:
8384
version: "1.1.1w"
8485
os: ${{ runner.os }}
8586

8687
- name: Manually set up Ruby
88+
if: matrix.ruby != '2.4'
8789
uses: ./.github/actions/install-ruby
8890
with:
8991
version: ${{ matrix.ruby }}
9092
os: ${{ runner.os }}
9193

94+
-uses: ruby/setup-ruby@v1
95+
if: matrix.ruby == '2.4'
96+
with:
97+
ruby-version: ${{ matrix.ruby }}
98+
bundler-cache: true
99+
92100
- run: bundle exec rspec

0 commit comments

Comments
 (0)