Don't require Gitlab::Redis in mail_room.yml if it's already defined
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
cfc99bbd13
commit
72647eda31
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<%
|
||||
require "yaml"
|
||||
require "json"
|
||||
require_relative "lib/gitlab/redis"
|
||||
require_relative "lib/gitlab/redis" unless defined?(Gitlab::Redis)
|
||||
|
||||
rails_env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
|
||||
|
||||
|
|
Loading…
Reference in a new issue