Sha256: 47afea4f8f76fc12e9f39605dec909d41dfa3ce4cf0b1260dff5bfe08a935465
Contents?: true
Size: 454 Bytes
Versions: 13
Compression:
Stored size: 454 Bytes
Contents
WKHTMLTOPDF_PATH = File.expand_path "../../bin/wkhtmltopdf-linux-amd64", __FILE__ begin require 'pdfkit' PDFKit.configure do |config| config.wkhtmltopdf = WKHTMLTOPDF_PATH end rescue LoadError end begin require 'wicked_pdf' WickedPdf.config[:exe_path] = WKHTMLTOPDF_PATH rescue LoadError end begin require 'wisepdf' Wisepdf::Configuration.configure do |config| config.wkhtmltopdf = WKHTMLTOPDF_PATH end rescue LoadError end
Version data entries
13 entries across 13 versions & 2 rubygems