Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit 8558a44

Browse files
committed
load hiredis to avoid security error
`Security Error Insecure operation - getaddrinfo` happens when `Redis.new` using `REDIS_URL` within `$SAFE=1` see also: tdiary/tdiary-cache-redis#2
1 parent a33798b commit 8558a44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/Gemfile.local

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
gem "puma"
22
gem "mysql2"
3+
gem "hiredis"
4+
gem "redis", require: ["redis", "redis/connection/hiredis"]
35

46
gem "tdiary", path: "."
57
gem "tdiary-contrib", github: "tdiary/tdiary-contrib"

0 commit comments

Comments
 (0)