Sha256: b972b370a6d1e252ed6aba6a7d2db40c89d3dfb99d27b4566bb05c02f86cb1f0
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
PDFKit.configure do |config| if RUBY_PLATFORM =~ /64-linux/ wkhtmltopdf_executable = 'wkhtmltopdf-amd64' elsif RUBY_PLATFORM =~ /86-linux/ wkhtmltopdf_executable = 'wkhtmltopdf-i386' else raise "Unsupported. Must be running linux or intel-based Mac OS." end if wkhtmltopdf_executable config.wkhtmltopdf = File.join(File.dirname(__FILE__),'vendor', 'bin', wkhtmltopdf_executable).to_s end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pdfkit-heroku-0.1.2 | init.rb |