screencap
screencap copied to clipboard
Errno::ENOENT: No such file or directory - /c/phantomjs/bin/phantomjs
Hi I am using ruby 1.9.3p551 (2014-11-13) [i386-mingw32]
I have installed phantomjs 2.1.1 in C:\phantomjs
I have added gem details to the gemfile as described in the documentation. In irb, I executed following.
require 'screencap'
f = Screencap::Fetcher.new('http://google.com')
Then I got following output
#<Screencap::Fetcher:0x2568198 @url="http://google.com">
When I executed s = f.fetch
i got following error.
After that I tried with gem 'screencap', github: 'Eventshare/screencap'
as well. (https://github.com/maxwell/screencap/issues/31) refer @cbartlett comment
Still gets the same issue. Any leads to fix this?
I am using Windows 8.1 and git bash as the command line tool