"No such file or directory @ rb_sysopen" using OpenURI
I am using Ruby 3.0.1 and a part from the:
require "open-uri"
I have to explicitly call URI.open
instead of just open
:
data = URI.open("http://google.ca/")
Maybe it is something on new Ruby versions