|
|
@ -27,6 +27,7 @@ namespace :zip_pack do
|
|
|
|
pdfs << pdf
|
|
|
|
pdfs << pdf
|
|
|
|
begin
|
|
|
|
begin
|
|
|
|
zip.add(export.filename, pdf.path)
|
|
|
|
zip.add(export.filename, pdf.path)
|
|
|
|
|
|
|
|
puts "out: #{export.filename}"
|
|
|
|
rescue => ex
|
|
|
|
rescue => ex
|
|
|
|
Rails.logger.error(ex.message)
|
|
|
|
Rails.logger.error(ex.message)
|
|
|
|
|
|
|
|
|
|
|
|