Commit 4bbe08dd98d3568bfb71d2492afceb3edcf2f573
Exists in
master
and in
29 other branches
Merge commit 'refs/merge-requests/49' of git://gitorious.org/noosfero/noosfero i…
…nto merge-requests/49
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/gettext.rake
... | ... | @@ -8,7 +8,7 @@ makemo_stamp = 'tmp/makemo.stamp' |
8 | 8 | desc "Create mo-files for L10n" |
9 | 9 | task :makemo => makemo_stamp |
10 | 10 | file makemo_stamp => Dir.glob('po/*/noosfero.po') do |
11 | - ruby '-rconfig/boot -rgettext -rgettext/utils -e \'GetText.create_mofiles(true, "po", "locale") 2>/dev/null' | |
11 | + ruby '-rconfig/boot -e \'require "gettext"; require "gettext/utils"; GetText.create_mofiles(true, "po", "locale") 2>/dev/null' | |
12 | 12 | Rake::Task['symlinkmo'].invoke |
13 | 13 | FileUtils.touch makemo_stamp |
14 | 14 | end | ... | ... |