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

exists? method for File:Class was removed in Ruby 3.2.0 #12

Open
lreardon opened this issue Apr 23, 2023 · 3 comments
Open

exists? method for File:Class was removed in Ruby 3.2.0 #12

lreardon opened this issue Apr 23, 2023 · 3 comments

Comments

@lreardon
Copy link
Contributor

lreardon commented Apr 23, 2023

As title describes, the gem fails for users of Ruby 3.2.0, because it relies on a call to the exists? alias method to the exist? method, which has been deprecated since Ruby 2.1 and was finally removed in Ruby 3.2.0.

@bruno-
Copy link
Member

bruno- commented May 2, 2023

PR for this is welcome!

@SzymonNadbrzezny
Copy link

@bruno- could you publish fixed version? I see the PR has been merged but last available gem version is from 2018

@jeffkirk1
Copy link

I just ran into this issue as well, after upgrading my project to Ruby 3.2.2. Would appreciate a new revision to be published with the fix. Thanks!

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

4 participants