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

Do not depend on 'which' binary #80

Open bolshakov opened 8 years ago

bolshakov commented 8 years ago

Not all systems have which executable available, so the call #system_phantomjs_path will fail silently on such systems.

I replaced which with ruby implementation.