Skip to content

Commit

Permalink
Update to ruby 3.1 but keep Psych 3 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Dantemss committed Oct 18, 2024
1 parent b8170b5 commit 6a29991
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
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
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ end
gem 'rails', '6.1.7.8'
gem 'rails-i18n'

# Psych 4 (included in Ruby 3.1) breaks Rails < 7
# Remove this entry completely when updating to Rails 7
gem 'psych', '< 4'

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false

Expand Down
14 changes: 8 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ GEM
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
libv8-node (21.7.2.0)
libv8-node (21.7.2.0-x86_64-darwin)
libv8-node (21.7.2.0-x86_64-linux)
libv8-node (18.19.0.0)
libv8-node (18.19.0.0-x86_64-darwin)
libv8-node (18.19.0.0-x86_64-linux)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand Down Expand Up @@ -446,8 +446,8 @@ GEM
method_source (1.1.0)
mini_mime (1.1.5)
mini_portile2 (2.8.7)
mini_racer (0.12.0)
libv8-node (~> 21.7.2.0)
mini_racer (0.16.0)
libv8-node (~> 18.19.0.0)
minitest (5.25.1)
msgpack (1.7.3)
multi_json (1.15.0)
Expand Down Expand Up @@ -567,6 +567,7 @@ GEM
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
psych (3.3.4)
public_suffix (6.0.1)
puma (6.4.3)
nio4r (~> 2.0)
Expand Down Expand Up @@ -891,6 +892,7 @@ DEPENDENCIES
pattern-library!
pg
premailer-rails
psych (< 4)
puma
puma_worker_killer
rack-cors
Expand Down Expand Up @@ -928,4 +930,4 @@ DEPENDENCIES
will_paginate

BUNDLED WITH
2.3.13
2.3.27

0 comments on commit 6a29991

Please sign in to comment.