Skip to content

Commit b0cb780

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 e576002 commit b0cb780

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

magellan-tdiary/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)