Closed tatzyr closed 2 years ago
Ruby 3.2 removes deprecated File.exists? method. It will be the following error in Ruby 3.2.
File.exists?
$ ruby -ve 'File.exists?("foo")' ruby 3.2.0dev (2022-02-16T04:32:13Z master e7d76fe2b0) [arm64-darwin21] -e:1:in `<main>': undefined method `exists?' for File:Class (NoMethodError) File.exists?("foo") ^^^^^^^^ Did you mean? exist?
Ruby 3.2 removes deprecated
File.exists?
method. It will be the following error in Ruby 3.2.