Skip to content

Commit

Permalink
Use bootsnap 1.8.1 for psych 4 / 3 compatibility
Browse files Browse the repository at this point in the history
Psych unsafe_load was added for psych 4 / 3 compatibility but was only available
in 3.3.2 and newer.

Prior to this change, bootsnap 1.8.0 would be break on psych 3.3.1 and older.

Bootsnap added psych 4 compatibility in 1.8.0 by using unsafe_load but this
doesn't work with 3.3.1 or older:
Shopify/bootsnap#368

Bootnap 1.8.1 allows older versions of psych to be compatible via:
Shopify/bootsnap#369
  • Loading branch information
jrafanie committed Jun 28, 2022
1 parent 87031ba commit 5136659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -27,7 +27,7 @@ gem "acts_as_tree", "~>2.7" # acts_as_tree needs to be requi
gem "ancestry", "~>4.1.0", :require => false
gem "aws-sdk-s3", "~>1.0", :require => false # For FileDepotS3
gem "bcrypt", "~> 3.1.10", :require => false
gem "bootsnap", ">= 1.4.2", :require => false
gem "bootsnap", ">= 1.8.1", :require => false # for psych 3.3.2+ / 4 unsafe_load
gem "bundler", "~> 2.1", ">= 2.1.4", "!= 2.2.10", :require => false
gem "byebug", :require => false
gem "color", "~>1.8"
Expand Down

0 comments on commit 5136659

Please sign in to comment.