rubygem-uri-redis supports parsing redis://host:port/dbindex/keyname.