From 1f0105c9537dea2b8f74b0c7e897e2a0ef11ff8b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 11 Dec 2023 17:17:28 +0000 Subject: [PATCH] Use file_exists to provide File.exists? for ruby 3.2 This is needed for the oauth gem which uses it. --- Gemfile | 3 +++ Gemfile.lock | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 98b035188..8dd0576d1 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/Gemfile.lock b/Gemfile.lock index 212cdb73e..c4b9c2516 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) @@ -610,6 +611,7 @@ DEPENDENCIES factory_bot_rails faraday ffi-libarchive + file_exists frozen_record gd2-ffij (>= 0.4.0) htmlentities -- 2.39.5