Rakefile in semantic_puppet-0.1.3 vs Rakefile in semantic_puppet-0.1.4

- old
+ new

@@ -54,5 +54,14 @@ begin require "bundler/gem_tasks" rescue LoadError warn "[Warning]: Could not load `bundler/gem_tasks`." end + +# Gettext tasks +begin + spec = Gem::Specification.find_by_name 'gettext-setup' + load "#{spec.gem_dir}/lib/tasks/gettext.rake" + GettextSetup.initialize(File.absolute_path('locales', File.dirname(__FILE__))) +rescue LoadError + warn "[Warning]: Could not load gettext tasks." +end