Skip to content

Commit

Permalink
[CI] Update Ruby 2.7's default rubygems version
Browse files Browse the repository at this point in the history
to something that doesn't try to install sqlite3 1.7.0 that doesn't support Ruby < 3
  • Loading branch information
amatsuda committed Jan 5, 2024
1 parent 499db8d commit 9e288bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
rubygems: ${{ (matrix.ruby_version < '3.0' && 'default') || 'latest' }}
rubygems: ${{ (matrix.ruby_version < '2.7' && 'default') || (matrix.ruby_version < '3' && '3.4.22') || 'latest' }}
bundler-cache: true
continue-on-error: ${{ (matrix.ruby_version == 'ruby-head') || (matrix.ruby_version == 'jruby') || (matrix.rails_version == 'edge') }}

Expand Down

0 comments on commit 9e288bc

Please sign in to comment.