Skip to content

Conversation

nbelzer
Copy link
Contributor

@nbelzer nbelzer commented Jan 2, 2023

File.exists? is deprecated in the latest release of Ruby (3.2.0). I encountered the issue when I upgraded to Ruby 3.2.0 so I expect more people to run into the same issue as they upgrade.

This method is deprecated in the latest release of Ruby 3.2.
@nbelzer nbelzer self-assigned this Jan 2, 2023
@waymondo
Copy link

waymondo commented Jan 3, 2023

Just came here to open a PR for the same issue. Seems fine to rename since exists? has been deprecated all the way back to the 2.5 days:

https://ruby-doc.org/core-2.5.0/File.html#method-c-exists-3F

@albertorestifo
Copy link

I'm also encountering this issue

@nbelzer nbelzer requested a review from elia January 4, 2023 20:48
@elia elia merged commit e00e172 into nebulab:main Jan 11, 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.

4 participants