fixed repository version and included phantomjs in rails app