Skip to content

uninitialized constant Screencap::Phantom::CGI #12

@galetahub

Description

@galetahub

screencap-0.1.1.gem
phantomjs-1.9.7.1.gem

require 'screencap'
f = Screencap::Fetcher.new('http://google.com')
screenshot = f.fetch
NameError: uninitialized constant Screencap::Phantom::CGI
    from /Volumes/Data/mario/.rvm/gems/ruby-2.0.0-p451/gems/screencap-0.1.1/lib/screencap/phantom.rb:7:in `rasterize'
    from /Volumes/Data/mario/.rvm/gems/ruby-2.0.0-p451/gems/screencap-0.1.1/lib/screencap/fetcher.rb:24:in `raster'
    from /Volumes/Data/mario/.rvm/gems/ruby-2.0.0-p451/gems/screencap-0.1.1/lib/screencap/fetcher.rb:9:in `fetch'
    from (irb):3
    from /Volumes/Data/mario/.rvm/rubies/ruby-2.0.0-p451/bin/irb:12:in `<main>'

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