Skip to content

Commit

Permalink
Use file_exists to provide File.exists? for ruby 3.2
Browse files Browse the repository at this point in the history
This is needed for the oauth gem which uses it.
  • Loading branch information
tomhughes committed Dec 11, 2023
1 parent e272cda commit 1f0105c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ gem "argon2"
# Support brotli compression for assets
gem "sprockets-exporters_pack"

# Restore File.exists? for oauth gem
gem "file_exists"

# Load rails plugins
gem "actionpack-page_caching", ">= 1.2.0"
gem "activerecord-import"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ GEM
rake
ffi-libarchive (1.1.13)
ffi (~> 1.0)
file_exists (0.2.0)
frozen_record (0.27.0)
activemodel
fspath (3.1.2)
Expand Down Expand Up @@ -610,6 +611,7 @@ DEPENDENCIES
factory_bot_rails
faraday
ffi-libarchive
file_exists
frozen_record
gd2-ffij (>= 0.4.0)
htmlentities
Expand Down

0 comments on commit 1f0105c

Please sign in to comment.