File.exists? and Dir.exists? were deprecated in Ruby 3.2. If you still need these methods. just require this Gem
Andi Idogawa
January 19, 2023 8:16am
k.A.