Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 796 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 796 Bytes

wkhtmltopdf-installer-ruby

Build Status

Downloads and installs wkhtmltopdf from the official website

Usage

  gem install wkhtmltopdf-installer

Then in your Ruby script

  require 'wkhtmltopdf_installer'
  system WkhtmltopdfInstaller.wkhtmltopdf_path

  # this also works, because ENV['PATH'] is adjusted
  system 'wkhtmltopdf'

The gem also provides a shim, so that it works in the shell too.

Contribution

Pull requests are very welcome. Pull requests with updates in version.rb are welcome too.

See also