Base dir for installation of phantomjs is configurable by setting Phantomjs.base_dir, but Phantomjs.implode! disregards that setting and always removes directory ~/.phantomjs. We resolve the discrepancy by making Phantomjs.implode! remove configured base dir.
Base dir for installation of phantomjs is configurable by setting
Phantomjs.base_dir
, butPhantomjs.implode!
disregards that setting and always removes directory~/.phantomjs
. We resolve the discrepancy by makingPhantomjs.implode!
remove configured base dir.