Use Dir.exist? instead of Dir.exists?
Use Dir.exist? instead of Dir.exists?

Dir.exists? has been deprecated since Ruby 2.2 and is being removed in
Ruby 3.2

libgit2/rugged,libgit2/rugged,libgit2/rugged