Skip to content

Instantly share code, notes, and snippets.

View ChrisChinchilla's full-sized avatar
✍️
docsdocsdocs

Chris Chinchilla ChrisChinchilla

✍️
docsdocsdocs
View GitHub Profile
require 'pdfkit'
require 'nokogiri'
require 'haml'
# config/initializers/pdfkit.rb
PDFKit.configure do |config|
# Note: Often required for Windows OS configuration
# config.wkhtmltopdf = '/path/to/wkhtmltopdf'