lib/pdfkit/configuration.rb in pdfkit-0.8.7.1 vs lib/pdfkit/configuration.rb in pdfkit-0.8.7.2
- old
+ new
@@ -43,10 +43,10 @@
@wkhtmltopdf = default_wkhtmltopdf
end
end
def executable
- using_xvfb? ? "xvfb-run #{wkhtmltopdf}" : wkhtmltopdf
+ using_xvfb? ? ['xvfb-run', wkhtmltopdf] : wkhtmltopdf
end
def using_xvfb?
@use_xvfb
end