Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-09-03 20:32:07 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2017-09-04 09:30:10 +0300
commit7199e882dba1f664ff2d5b889428c086dce7827d (patch)
tree6ca4728b9e40f47be98c3307929eefc54659efa3 /lib/tasks/gettext.rake
parenta3af683045e0170d975eab2562a466f88d2692b8 (diff)
Only require `simple_po_parser` in rake task that needs it
That way we don't need to install it in production, since it's really not needed there.
Diffstat (limited to 'lib/tasks/gettext.rake')
-rw-r--r--lib/tasks/gettext.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake
index e1491f29b5e..f7f2fa2f14c 100644
--- a/lib/tasks/gettext.rake
+++ b/lib/tasks/gettext.rake
@@ -1,4 +1,5 @@
require "gettext_i18n_rails/tasks"
+require 'simple_po_parser'
namespace :gettext do
# Customize list of translatable files