phantomjs-gem icon indicating copy to clipboard operation
phantomjs-gem copied to clipboard

Phantomjs via Rubygems: Auto-install phantomjs on demand for current platform. Comes with poltergeist integration.

Results 37 phantomjs-gem issues
Sort by recently updated
recently updated
newest added

…such as it was thought that than can be ``` ruby $ rails c Loading development environment (Rails 4.2.6) irb(main):001:0> Phantomjs.path which: no phantomjs in (/home/xxxxxxx/.rbenv/versions/2.3.1/bin:/home/xxxxxxx/.rbenv/libexec:/home/xxxxxxx/.rbenv/plugins/ruby-build/bin:...) Phantomjs.path => "/home/xxxxxxx/.phantomjs/2.1.1/x86_64-linux/bin/phantomjs" ```...

I used your gem, and PhantomJS got installed, but i got an error when trying to use it: > /home/somefolder/.phantomjs/1.9.7/x86_64-linux/bin/phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object...

Unsure how good/bad idea this is But at least locally I've made these changes: ``` def system_phantomjs_path #`which phantomjs`.delete("\n") (system 'which phantomjs', STDOUT: '/dev/null').delete("\n") rescue end ``` Maybe others find...

This pr implements `system_phantomjs_path` using `where`, for Windows.

It'd be useful to be able to download from a different source in case Bitbucket is down (as it currently seems to be). Maybe it's worth just doing what npm's...

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...

1. Phatnomjs works for x64 machines so it doesn't have to be validate by architecture. 2. To find phanotm path we use `where`instead of `which`

Currently `phantomjs` gem does this: ``` ruby unless system "curl -L -O #{package_url}" or system "wget #{package_url}" ... ``` `wget` will return error code when it fails, so that makes...