Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with newer Ruby version #39

Open
WeiyiZ-008 opened this issue Dec 5, 2023 · 1 comment
Open

Not compatible with newer Ruby version #39

WeiyiZ-008 opened this issue Dec 5, 2023 · 1 comment

Comments

@WeiyiZ-008
Copy link

unless File.exists?(gitdir)

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)"

@dep
Copy link

dep commented Aug 24, 2024

Same issue.

undefined method `exists?' for class File (NoMethodError)

    unless File.exists?(gitdir)
               ^^^^^^^^
Did you mean?  exist?

Ruby 3.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants