Skip to content

Errno::ENOENT: No such file or directory - /c/phantomjs/bin/phantomjs #36

@rehrumesh

Description

@rehrumesh

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.

image

After that I tried with gem 'screencap', github: 'Eventshare/screencap' as well. (#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions