Skip to content

Commit

Permalink
Update Ruby to v3.1.6
Browse files Browse the repository at this point in the history
Heroku no longer supports Ruby 3.0.7. This commit updates Ruby from
version 3.0.7 to 3.1.6. We are incrementally upgrading Ruby to
eventually get to 3.3.4 (or later).

We are deliberately pinning Psych and will unpin it in the future.

Ref:
- https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
- https://www.ruby-lang.org/en/downloads/releases/
  • Loading branch information
smaboshe committed Jul 12, 2024
1 parent 0fb74a9 commit 72d3bd9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
parallelism: 3
docker:
- image: cimg/ruby:3.0.7-node-browsers
- image: cimg/ruby:3.1.6-node-browsers
environment:
BUNDLE_JOBS: 3
BUNDLE_RETRY: 3
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.7
3.1.6
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.0.7
ruby 3.1.6
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

ruby "3.0.7"
ruby "3.1.6"

git_source(:github) do |repo_name|
"https://github.com/#{repo_name}.git"
Expand Down Expand Up @@ -40,6 +40,7 @@ gem "pg"
gem "pg_search"
gem "pry-byebug"
gem "pry-rails"
gem "psych", "< 4"
gem "puma"
gem "rack-rewrite"
gem "rails"
Expand Down
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ GEM
pry (~> 0.13.0)
pry-rails (0.3.9)
pry (>= 0.10.4)
psych (3.3.4)
public_suffix (6.0.0)
puma (5.6.8)
nio4r (~> 2.0)
Expand Down Expand Up @@ -637,6 +638,7 @@ DEPENDENCIES
pg_search
pry-byebug
pry-rails
psych (< 4)
puma
rack-cors
rack-livereload
Expand Down Expand Up @@ -678,7 +680,7 @@ DEPENDENCIES
wrapped

RUBY VERSION
ruby 3.0.7p220
ruby 3.1.6p260

BUNDLED WITH
2.5.15

0 comments on commit 72d3bd9

Please sign in to comment.