Exception: PDFKit::NoExecutableError

Inherits:
Error
  • Object
show all
Defined in:
lib/pdfkit/pdfkit.rb

Instance Method Summary collapse

Constructor Details

#initializeNoExecutableError

Returns a new instance of NoExecutableError.



8
9
10
11
12
# File 'lib/pdfkit/pdfkit.rb', line 8

def initialize
  msg  = "No wkhtmltopdf executable found at #{PDFKit.configuration.wkhtmltopdf}\n"
  msg << ">> Please install wkhtmltopdf - https://github.com/pdfkit/PDFKit/wiki/Installing-WKHTMLTOPDF"
  super(msg)
end