Open pboling opened 1 year ago
The solution, until this gem has a maintainer, (I volunteered and emailed @benburkert !) is to simply add the removed method back, and a handy gem does that for us:
spec.add_dependency("file_exists", "~> 0.2")
or
gem "file_exists", "~> 0.2"
And then (before all other requires):
require 'file_exists'
thanks for investigating @pboling, mind submitting a PR with your preferred fix?
Will do!
File.exists?
was deprecated in Ruby 2.1, and removed in Ruby 3.2.It should be replaced with
File.exist?
.