{"categories":["docs","develop","stack","oss","rs","rc","oss","kubernetes","clients"],"description":"Connect your Ruby application to a Redis database","duplicateOf":"head:data-ai-metadata","location":"body","title":"redis-rb guide (Ruby)","tableOfContents":{"sections":[{"id":"install","title":"Install"},{"id":"connect-and-test","title":"Connect and test"},{"id":"more-information","title":"More information"}]},"codeExamples":[]}
redis-rb supports connection URLs through the url option of Redis.new.
A URL can set the host, port, credentials, database, and whether to use TLS,
so you can use one instead of passing those options separately.
Store and retrieve a simple string.
Language:Ruby
Foundational: Set and retrieve string values using SET and GET commands