mgrachev/gastly

Not working?

duramato opened this issue · 3 comments

Ive just installed gastly via ruby gems, and tried runnning but i just got this

# Gastly.capture('http://google.com', 'output.png')
-bash: syntax error near unexpected token `'http://google.com','

@duramato You must first run irb and it run this example:

$ gem install gastly
$ irb
irb(main):001:0> require 'gastly'
=> true
irb(main):002:0> Gastly.capture('http://google.com', 'output.png')
=> "output.png"

Or without irb:

$ ruby -e "require 'gastly'; Gastly.capture('http://google.com', 'output.png')"

Oh ok , i was thinking it was a stand alone package.
And i tried the one liner example with google and it seemed to work, but then i tried with another page and it only worked "partially". http://img.cla46.com/up/146815992883d84c0.png

@duramato There are problems with the display of this website in PhantomJS, i can not do anything about it.