Skip to content

wkhtmltopdf-installer gem downloads and installs wkhtmltopdf from the official website

License

Notifications You must be signed in to change notification settings

vovayartsev/wkhtmltopdf-installer-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

wkhtmltopdf-installer gem downloads and installs wkhtmltopdf from the official website

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages