Skip to content

Commit 47a6ade

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 47a6ade

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.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+
- name: Set up Ruby
95+
if: matrix.ruby == '2.4'
96+
uses: ruby/setup-ruby@v1
97+
with:
98+
ruby-version: ${{ matrix.ruby }}
99+
92100
- run: bundle exec rspec

0 commit comments

Comments
 (0)