screencap icon indicating copy to clipboard operation
screencap copied to clipboard

Screencap hangs

Open WillTaylor22 opened this issue 3 years ago • 1 comments

I'm attempting to run the basic tutorial code:

require 'screencap'
f = Screencap::Fetcher.new('http://google.com')
screenshot = f.fetch

However, the program just hangs at the final line. This happens whether I install it in my rails app and run rails console, or I install globally and run irb.

rails 7.0.3 ruby-3.1.1

WillTaylor22 avatar Jul 23 '22 20:07 WillTaylor22

Did you find any fix for this?

rockwellll avatar Feb 02 '24 12:02 rockwellll