Skip to content

Instantly share code, notes, and snippets.

@faustoct1
Created July 22, 2019 00:49
Show Gist options
  • Save faustoct1/3033f791735b5d1aefa44fc0d0c1b259 to your computer and use it in GitHub Desktop.
Save faustoct1/3033f791735b5d1aefa44fc0d0c1b259 to your computer and use it in GitHub Desktop.
init redis
uricache = URI.parse(ENV["REDIS_URL"])
CACHE = Redis.new(:host => uricache.host, :port => uricache.port, :password => uricache.password)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment