Exception: IMGKit::NoExecutableError
- Inherits:
-
StandardError
- Object
- StandardError
- IMGKit::NoExecutableError
- Defined in:
- lib/imgkit/imgkit.rb
Instance Method Summary collapse
-
#initialize ⇒ NoExecutableError
constructor
A new instance of NoExecutableError.
Constructor Details
#initialize ⇒ NoExecutableError
Returns a new instance of NoExecutableError.
5 6 7 8 9 |
# File 'lib/imgkit/imgkit.rb', line 5 def initialize msg = "No wkhtmltoimage executable found at #{IMGKit.configuration.wkhtmltoimage}\n" msg << ">> Install wkhtmltoimage by hand or try running `imgkit --install-wkhtmltoimage`" super(msg) end |