Commit 9c4eb00655f6534cb13e54ddf7a2bd4dd3b65466

Authored by Larissa Reis
Committed by Larissa Reis
1 parent cb340c2b

Fixes rake makemo error during install in Ubuntu

Changed the way libs are loaded in gettext.rake at line 11.
I wasn't able to test using Debian Lenny.

(ActionItem2106)
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
... ...