phantomjs-gem
phantomjs-gem copied to clipboard
Implode Phantomjs when installed in custom base dir.
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.