diff options
author | Ruben Davila <rdavila84@gmail.com> | 2017-05-05 20:50:48 -0500 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2017-05-05 20:50:48 -0500 |
commit | 61d0ac55d47b92668ce95b1e800e879f95327a48 (patch) | |
tree | be72d0817cd289f1f201c9c7384f48f256898827 /config/initializers | |
parent | a4c90a41958b1b7cc2a350054d7cc39933cfe3b9 (diff) | |
download | gitlab-ce-61d0ac55d47b92668ce95b1e800e879f95327a48.tar.gz |
Use an absolute path for locale path in FastGettext configuse-absolute-path-for-gettext-config
Unicorn was unable to start due to this bad config on Omnibus.
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/fast_gettext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/fast_gettext.rb b/config/initializers/fast_gettext.rb index bea85b43b95..a69fe0c902e 100644 --- a/config/initializers/fast_gettext.rb +++ b/config/initializers/fast_gettext.rb @@ -1,4 +1,4 @@ -FastGettext.add_text_domain 'gitlab', path: 'locale', type: :po +FastGettext.add_text_domain 'gitlab', path: File.join(Rails.root, 'locale'), type: :po FastGettext.default_text_domain = 'gitlab' FastGettext.default_available_locales = Gitlab::I18n.available_locales |