Yes, in SU 2024, not only File.exists? is removed, Fixnum in SU 2024 raise errors too.
see Ruby 3.2 full release notes here:
https://github.com/ruby/ruby/blob/v3_2_2/NEWS.md
We fixed in our plugins like this:
# Fix undefined method `exists?' error for Dir:Class, File:Class
# see: https://github.com/ruby/ruby/blob/v3_2_2/NEWS.md
# Removed methods:
# Dir.exists? [Feature #17391]
# File.exists? [Feature #17391]
Dir.respond_to?(:exists?) || Dir.singleton_class.alias_method(:exists?, :exist?)
File.respond_to?(:exists?) || File.singleton_class.alias_method(:exists?, :exist?)
defined?(::Fixnum) || Kernel.const_set(:Fixnum, Integer)