Install phantomjs
For Capybara tests PhantomJS needs to be installed. Look at https://github.com/nicolai86/ansible-phantomjs for an example. Compare with http://codecuriosity.com/blog/2013/01/30/install-phantomjs-on-ubuntu/ and the official PhantomJS page at http://phantomjs.org/