As of Ruby 3.2.x File.exists? has been removed. The gem dependency on randexp which was last updated in 2012 probably won't be getting any updates anytime soon.
I can offer some monkey patches building on =~ https://github.com/praxis/attributor/blob/master/lib/attributor/extensions/randexp.rb that make that change in the gem if that helps, but ideally we cease depending on that gem entirely.
As of Ruby 3.2.x File.exists? has been removed. The gem dependency on randexp which was last updated in 2012 probably won't be getting any updates anytime soon.
I can offer some monkey patches building on =~ https://github.com/praxis/attributor/blob/master/lib/attributor/extensions/randexp.rb that make that change in the gem if that helps, but ideally we cease depending on that gem entirely.