mileszs/wicked_pdf — pull request #346 by deftOfCenter (2014-10-24 18:26:25+00:00)
Title: Include path configuration for wkhtmltopdf-binary gem

Just spent a good hour trying to find this solution. Most of the options I saw gave the instruction "put in the right path". I figured there was a way to grab the 'right path', but wasn't quite well versed to figure it out. I almost gave up trying to figure it out and went the route of downloading the binary, then extracting it, and putting it into my /bin. Not very future proof.

This will automatically update the path when the gem is updated, and the script it points to works by looking at the system to determine the correct binary. Much cleaner.

Hope it helps!