rubygem-uri-redis supports parsing redis://host:port/dbindex/keyname. WWW: https://github.com/delano/uri-redis