What path for wkhtmltoimage for Windows and local server?

Posted by user1697061 on Stack Overflow See other posts from Stack Overflow or by user1697061
Published on 2012-11-09T10:11:28Z Indexed on 2012/11/09 11:01 UTC
Read the original article Hit count: 357

I am running rails on a local server on windows. I installed wkhtmltoimage to C:/Sites/wkhtmltoimage

Now I have to tell IMGKit where to find it, so I added a file initializers/imgkit.rb:

IMGKit.configure do |config|
  config.wkhtmltoimage = 'C:/Sites/wkhtmltoimage'
end

But When I try to use IMGKit, rails tells me:

No wkhtmltoimage executable found at /usr/local/bin/wkhtmltoimage

But I set up a new path for it ?

What do I have to do now ? Please help.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about Windows