Ruby Gem for getting full local copies of html pages

Is there a ruby gem to do this?

When an html page from an http response is saved locally, src and href
links to things like “/global.css” “/logo.jpg” don’t work. Is there a
ruby gem, that will iterate through image, css and other resources and
pull them in locally into the correct folder structure?

Thanks.

Why don’t you use wget or something like that?

– Matma R.