Skip to content

Commit

Permalink
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 4, 2024
1 parent 0d10284 commit 4ffecfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ fi
# Installing rubygems that includes bundler 1 that is required by Rails 4
if [[ "${RAILS_VERSION}" =~ ^4 ]]; then
gem update --system 3.0.9
# Ruby 2.7's bundled rubygems is so buggy that it ignores required_ruby_version limitation
elif ruby -v | grep -qF 'ruby 2.7.'; then
gem update --system 3.4.22
fi
bundle update

Expand Down

0 comments on commit 4ffecfe

Please sign in to comment.