Skip to content

Commit 1fd7ccc

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 1fd7ccc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,24 @@ 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+
bundler-cache: true
100+
92101
- run: bundle exec rspec

0 commit comments

Comments
 (0)