Exception: PDFKit::NoExecutableError

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

Instance Method Summary collapse

Constructor Details

#initializeNoExecutableError

Returns a new instance of NoExecutableError.



5
6
7
8
9
# File 'lib/pdfkit/pdfkit.rb', line 5

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