diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-09 13:56:38 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-09 14:19:25 -0400 |
commit | 91c39fd8c70e45aeb2d39f4f2b08164d01300b89 (patch) | |
tree | 719f54879e03e8a4ee21121866065ae7b5ca8cb5 /config | |
parent | 2cefdbb535a2883f514e1b3482eefbe072976be3 (diff) | |
download | gitlab-ce-91c39fd8c70e45aeb2d39f4f2b08164d01300b89.tar.gz |
Add lib/gitlab.rb to autoload non-conventional paths
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/1_settings.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index de79595d031..e6b00c531ac 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -1,3 +1,5 @@ +require 'gitlab' # Load lib/gitlab.rb as soon as possible + class Settings < Settingslogic source ENV.fetch('GITLAB_CONFIG') { "#{Rails.root}/config/gitlab.yml" } namespace Rails.env |