Use file_exists to provide File.exists? for ruby 3.2

This is needed for the oauth gem which uses it.
This commit is contained in:
Tom Hughes 2023-12-11 17:17:28 +00:00
parent e272cda348
commit 1f0105c953
2 changed files with 5 additions and 0 deletions

View file

@ -41,6 +41,9 @@ gem "argon2"
# Support brotli compression for assets # Support brotli compression for assets
gem "sprockets-exporters_pack" gem "sprockets-exporters_pack"
# Restore File.exists? for oauth gem
gem "file_exists"
# Load rails plugins # Load rails plugins
gem "actionpack-page_caching", ">= 1.2.0" gem "actionpack-page_caching", ">= 1.2.0"
gem "activerecord-import" gem "activerecord-import"

View file

@ -244,6 +244,7 @@ GEM
rake rake
ffi-libarchive (1.1.13) ffi-libarchive (1.1.13)
ffi (~> 1.0) ffi (~> 1.0)
file_exists (0.2.0)
frozen_record (0.27.0) frozen_record (0.27.0)
activemodel activemodel
fspath (3.1.2) fspath (3.1.2)
@ -610,6 +611,7 @@ DEPENDENCIES
factory_bot_rails factory_bot_rails
faraday faraday
ffi-libarchive ffi-libarchive
file_exists
frozen_record frozen_record
gd2-ffij (>= 0.4.0) gd2-ffij (>= 0.4.0)
htmlentities htmlentities