26 lines
781 B
Diff
26 lines
781 B
Diff
diff --git a/config/application.rb b/config/application.rb
|
|
index 2e2ed48..7351aa2 100644
|
|
--- a/config/application.rb
|
|
+++ b/config/application.rb
|
|
@@ -4,7 +4,7 @@ require 'rails/all'
|
|
require 'devise'
|
|
I18n.config.enforce_available_locales = false
|
|
Bundler.require(:default, Rails.env)
|
|
-require_relative '../lib/gitlab/redis'
|
|
+require_relative '/opt/gitlab/lib/gitlab/redis'
|
|
|
|
module Gitlab
|
|
class Application < Rails::Application
|
|
diff --git a/config/mail_room.yml b/config/mail_room.yml
|
|
index 761a32a..1e2cbbb 100644
|
|
--- a/config/mail_room.yml
|
|
+++ b/config/mail_room.yml
|
|
@@ -2,7 +2,7 @@
|
|
<%
|
|
require "yaml"
|
|
require "json"
|
|
-require_relative "lib/gitlab/redis"
|
|
+require_relative "/opt/gitlab/lib/gitlab/redis"
|
|
|
|
rails_env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
|
|
|