Add gem dependencies and phantomjs driver.