Dl is a super-simple file downloading utility, similar to wget/curl.

It will download the given url to a file unless given the --raw option, in which case it will simply print the url's contents to the standard output.

gem install dl

Try

dl --help

to see how to use it.