colszowka / phantomjs-gem

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

don't download if package file exists; use ENV['PHANTOMJS_URL'] #82

Open jamilbk opened 8 years ago

jamilbk commented 8 years ago
  1. Don't download if package file already exists.
  2. Use ENV['PHANTOMJS_URL'] if provided.
werkshy commented 7 years ago

A sensible check IMO!

Just a note that this takes a slightly different approach to the PHANTOM_DOWNLOAD_URL_BASE used in #78.