phantomjs in ruby on rails?

i had intalled phantomjs gem.But i don’t know how to use it.give me a example,thk

https://github.com/search?utf8=✓&q=phantomjs+ruby