follow_redirect description Simple gem to find the eventual destination of a url through its redirects if it has any. installation Just add ‘gem follow_redirects’ to your Gemfile usage FollowRedirect::Url.resolve(“http://google.com”) Simples.