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.



10
11
12
13
14
# File 'lib/pdfkit/pdfkit.rb', line 10

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