colszowka / phantomjs-gem

Phantomjs via Rubygems: Auto-install phantomjs on demand for current platform. Comes with poltergeist integration.
Other
222 stars 106 forks source link

Implode Phantomjs when installed in custom base dir. #88

Open mrrusof opened 7 years ago

mrrusof commented 7 years ago

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.