wkhtmltopdf_binary_provider

This gem providers wkhtmltopdf binaries (for Linux and Mac OS X) and dispatch script.

This version contains wkhtmltopdf 0.12.0 for Linux, and 0.12.1-fef236e for Mac OS X.

Installation

Add this line to your application's Gemfile:

gem 'wkhtmltopdf_binary_provider'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wkhtmltopdf_binary_provider

Use with wicked_pdf

You can use WkhtmltopdfBinaryProvider::Dispatcher.path helper method.

WickedPdf.config = {
  exe_path: WkhtmltopdfBinaryProvider::Dispatcher.path
}