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

ruby 3.2 compatibility #158

Open
jwoodrow opened this issue Jan 11, 2023 · 0 comments
Open

ruby 3.2 compatibility #158

jwoodrow opened this issue Jan 11, 2023 · 0 comments

Comments

@jwoodrow
Copy link

jwoodrow commented Jan 11, 2023

Hi, we're using the Docsplit.extract_text method with output: File.dirname('some/path') as an option. Now this ends up failing with a undefined method 'exists?' for File:Class.

I've looked at the ruby changelogs for 3.2.0 and I saw this:

Removed methods
The following deprecated methods are removed.

I've looked into the docsplit code and found this

FileUtils.mkdir_p @output unless File.exists?(@output)

The File.exists? removal does seem to align with the error being raised, would it be possible to look into this ?

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

1 participant