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

certified-update broken by Ruby 3.0 #19

Open
cabo opened this issue Dec 31, 2020 · 0 comments
Open

certified-update broken by Ruby 3.0 #19

cabo opened this issue Dec 31, 2020 · 0 comments

Comments

@cabo
Copy link

cabo commented Dec 31, 2020

https://bugs.ruby-lang.org/issues/15893 deprecated (and finally removed in Ruby 3.0) the extension to Kernel.open by open-uri.

This breaks line 13 of certified-update.

A maximally backward compatible fix is:

-open(CERT_BUNDLE_URL) do |remote_file|
+URI(CERT_BUNDLE_URL).open do |remote_file|

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