Exception: PDFKit::NoExecutableError
- Inherits:
-
StandardError
- Object
- StandardError
- PDFKit::NoExecutableError
- Defined in:
- lib/pdfkit/pdfkit.rb
Instance Method Summary collapse
-
#initialize ⇒ NoExecutableError
constructor
A new instance of NoExecutableError.
Constructor Details
#initialize ⇒ NoExecutableError
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 |