Exception: IMGKit::NoExecutableError

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

Instance Method Summary collapse

Constructor Details

#initializeNoExecutableError

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