Commit 61d0ac55 authored by Ruben Davila's avatar Ruben Davila

Use an absolute path for locale path in FastGettext config

Unicorn was unable to start due to this bad config on Omnibus.
parent a4c90a41
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment