Have a look at the open_uri_redirections gem.
It patches Ruby’s OpenURI to allow redirections from HTTP to HTTPS or the other way around.
Have a look at the open_uri_redirections gem.
It patches Ruby’s OpenURI to allow redirections from HTTP to HTTPS or the other way around.