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

Incompatibility issues with Ruby 3 #22

Closed
ryoung opened this issue May 24, 2021 · 3 comments
Closed

Incompatibility issues with Ruby 3 #22

ryoung opened this issue May 24, 2021 · 3 comments

Comments

@ryoung
Copy link

ryoung commented May 24, 2021

We're using ruby 3.0.1, and this gem fails to work because of the following errors:

docraptor-1.4.0/lib/docraptor/configuration.rb:178:in `base_url': undefined method `encode' for URI:Module (NoMethodError)
docraptor-1.4.0/lib/docraptor/api_client.rb:269:in `build_request_url': undefined method `encode' for URI:Module (NoMethodError)

URI.encode has been removed in ruby 3

@ryoung ryoung changed the title Incompatible with Ruby 3 Incompatibility issues with Ruby 3 May 24, 2021
@benhart
Copy link

benhart commented May 26, 2021

I've just stumbled into this now too. I'm not sure who maintains this gem, @JamesPaden @davidronk you've committed over the last year, can we update and release another version?

@jason-o-matic
Copy link
Contributor

Hi folks, we're taking a look at this and will comment with updates. Thanks for posting!

@jason-o-matic
Copy link
Contributor

This should be fixed if you update to version 2.0.0. Let us know if there are any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants