git-smart
git-smart copied to clipboard
Not compatible with newer Ruby version
https://github.com/geelen/git-smart/blob/3e0667cd2f1f123b4cd090c72d8ff36fd74874ab/lib/git-smart/git_repo.rb#L23
I think the newer version of Ruby does not support File.exists?
any more, instead it use File.exist?
The error I got: "undefined method `exists?' for File:Class (NoMethodError)"
Same issue.
undefined method `exists?' for class File (NoMethodError)
unless File.exists?(gitdir)
^^^^^^^^
Did you mean? exist?
Ruby 3.3.1