From a14fbd727c34d8b87bdf80d29b4a3d3a579ee44e Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 21 Mar 2018 09:17:59 +0100 Subject: [PATCH] suite --- config/initializers/wicked.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/wicked.rb b/config/initializers/wicked.rb index 8bc2ca2..ccd247a 100644 --- a/config/initializers/wicked.rb +++ b/config/initializers/wicked.rb @@ -5,6 +5,6 @@ if Rails.env.production? } else WickedPdf.config = { - :exe_path => "/usr/local/bin/wkhtmltopdf" + :exe_path => "/usr/bin/xvfb-run -- /usr/local/bin/wkhtmltopdf" } end \ No newline at end of file