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