-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uninitialized constant Screencap::Phantom::CGI #12
Comments
Huh, I thought I'd patched this a few months ago. Maybe not in the latest published gem? |
Hi, i'm getting a similar error with the same gem versions & code and also using the master branch of this repo as the gem source.
/usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/screencap-0.1.1/lib/screencap/phantom.rb:7:in
`rasterize': uninitialized constant Screencap::Phantom::CGI (NameError) |
same environment, and same issue on here. irb(main):001:0> require 'screencap'
=> true
irb(main):002:0> f = Screencap::Fetcher.new('https://ubit.info/ssut')
=> #<Screencap::Fetcher:0x007fa4518d8c70 @url="https://ubit.info/ssut">
irb(main):003:0> f.fetch(output: 'ssut.png', div: '#music_list')
NameError: uninitialized constant Screencap::Phantom::CGI
from /Library/Ruby/Gems/2.0.0/gems/screencap-0.1.1/lib/screencap/phantom.rb:7:in `rasterize'
from /Library/Ruby/Gems/2.0.0/gems/screencap-0.1.1/lib/screencap/fetcher.rb:24:in `raster'
from /Library/Ruby/Gems/2.0.0/gems/screencap-0.1.1/lib/screencap/fetcher.rb:9:in `fetch'
from (irb):3
from /usr/bin/irb:12:in `<main>' i have checked the issue #8 and now it works properly when i execute |
ssut
added a commit
to ssut/screencap
that referenced
this issue
Nov 15, 2014
…r padding.\n\nCloses maxwell#12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
screencap-0.1.1.gem
phantomjs-1.9.7.1.gem
The text was updated successfully, but these errors were encountered: