Closed kyledrake closed 10 years ago
That just worked for me fine using latest version.
# Run phantomjs with the given arguments, and either
# return the stdout or yield each line to the passed block.
def run(*args, &block)
puts "PATH: #{path}"
puts "ARGS: #{args.inspect}"
IO.popen([path, *args]) do |io|
block ? io.each(&block) : io.read
end
end
PATH: /Users/kyledrake/.phantomjs/1.9.7/darwin/bin/phantomjs
ARGS: ["/Users/kyledrake/.rvm/gems/ruby-2.1.1/gems/screencap-0.0.3/lib/screencap/raster.js", "http://google.com", "/Users/kyledrake/.rvm/gems/ruby-2.1.1/gems/screencap-0.0.3/tmp/httpgooglecom.png", nil]
Removing opts[:div]
from Screencap::Fetcher#fetch
's call to raster fixes it for me. It was fixed in master: https://github.com/maxwell/screencap/commit/cb5a0d1a871ea47db0a1e95a6cc49f53705a7c3d
@maxwell if you had a moment could you release a 0.0.4 gem? Thank you!
I've got the same issue, will pull the gem directly from github in the meantime.
Unfortunately I don't have permission to publish this gem, and have been using the gem via git directly myself for a while, so will have to wait for @maxwell to push the gem, which is now on version 0.1.1
I'll add you as soon as I get back!
On Apr 5, 2014, at 11:32 AM, DEfusion notifications@github.com wrote:
Unfortunately I don't have permission to publish this gem, and have been using the gem via git directly myself for a while, so will have to wait for @maxwell to push the gem, which is now on version 0.1.1
— Reply to this email directly or view it on GitHub.
What is your ruby gems email?
On Apr 5, 2014, at 11:32 AM, DEfusion notifications@github.com wrote:
Unfortunately I don't have permission to publish this gem, and have been using the gem via git directly myself for a while, so will have to wait for @maxwell to push the gem, which is now on version 0.1.1
— Reply to this email directly or view it on GitHub.
added! Thank you all so much.
Ok pushed 0.1.1 gem