Disable threadsafe! for rake tasks

This commit is contained in:
Dmitriy Zaporozhets 2013-06-13 09:58:03 +03:00
parent 995e656add
commit 2c3ddacbd7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Gitlab::Application.configure do
# config.action_mailer.raise_delivery_errors = false
# Enable threaded mode
config.threadsafe!
config.threadsafe! unless $rails_rake_task
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)