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

liquidoc uses deprecated (now removed) File.exists? API #96

Open
mikewadsten opened this issue Aug 2, 2024 · 2 comments
Open

liquidoc uses deprecated (now removed) File.exists? API #96

mikewadsten opened this issue Aug 2, 2024 · 2 comments

Comments

@mikewadsten
Copy link

I recently tried to use liquidoc on Ubuntu 24.04 (with Ruby 3.2), but was unable to proceed because of the uses of File.exists?, which was deprecated in Ruby 2.1.0 and removed in 3.2.0 in favor of File.exist?.

@briandominick
Copy link
Collaborator

I'm refactoring this entire gem and will hopefully release a 1.0 this year. For now I would suggest using an earlier version of Ruby if possible. If you're desperate to use this and constrained to 3.2+, I'll try to release a patch.

@mikewadsten
Copy link
Author

We're definitely not constrained to 3.2 -- for now we're still using Ubuntu 18.04 (in a Docker container) as our primary build system, but I'd like to get us modernized as much as possible.

In the meantime, if you'd be able to generate a new small release with just swapping File.exists? for File.exist?, I (and the rest of Digi) would appreciate it greatly. 😄

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