Commit 1b7a58a76763135b3d4a28ae3e35ab096d1a53b9
1 parent
efcf512c
Exists in
master
and in
18 other branches
Fix `rake noosfero:error-pages:translate`
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/error_messages.rake
| ... | ... | @@ -4,7 +4,7 @@ targets = [] |
| 4 | 4 | templates.each do |template| |
| 5 | 5 | target = template.gsub(/.erb$/, '') |
| 6 | 6 | targets << target |
| 7 | - file target => [:makemo, template] do | |
| 7 | + file target => [:makemo, template, :environment] do | |
| 8 | 8 | require 'erb' |
| 9 | 9 | erb = ERB.new(File.read(template)) |
| 10 | 10 | File.open(target, 'w') do |file| | ... | ... |