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

Fix compatibility issue with ruby 3.2 #45

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Fix compatibility issue with ruby 3.2 #45

merged 1 commit into from
Jan 27, 2023

Conversation

edouard
Copy link
Contributor

@edouard edouard commented Jan 27, 2023

As reported in #44 guard-bundler doesn't work with ruby 3.2. It fails with error:

Guard::Bundler failed to achieve its <start>, exception was:
> [#fb2815b9936d] NoMethodError: undefined method `exists?' for File:Class

This PR replaces File.exists? with File.exist?. File.exists? was deprecated in ruby 2.1.0 and was removed in ruby 3.2.0.

`File.exists?` was deprecated in ruby 2.1.0 and was removed in ruby 3.2.0
@rymai rymai merged commit 914be69 into guard:master Jan 27, 2023
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

Successfully merging this pull request may close these issues.

2 participants