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.



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

def initialize
  msg  = "No wkhtmltopdf executable found at #{PDFKit.configuration.wkhtmltopdf}\n"
  msg << ">> Install wkhtmltopdf by hand or try running `pdfkit --install-wkhtmltopdf`"
  super(msg)
end