PhantomJS is simultaneously a wonderful and terrible piece of software. I opted to use phantomjs over many other alternatives to create PDFs from HTML generated by a Rails 5.1 web-app. Locally, everything worked after getting through some PhantomJS quirks.…