I am using gem Watir with a ghostdriver using phantomJS as is explained here : http://watirmelon.com/2013/02/05/watir-webdriver-with-ghostdriver-on-osx-headless-browser-testing/
This works perfectly locally, however when I try using it in production after heroku deploy I get the following error: Selenium::WebDriver::Error::WebDriverError (Unable to find phantomjs executable.). So I tried to add nodeJS & phantomJS buildpack to my project. I now have all these buildpacks installed tennis-match git:(master) heroku buildpacks --app we-tennis-staging === we-tennis-staging Buildpack URLs 1. https://github.com/heroku/heroku-buildpack-ruby 2. http://github.com/stomita/heroku-buildpack-phantomjs.git 3. https://github.com/ddollar/heroku-buildpack-multi.git 4. https://github.com/heroku/heroku-buildpack-nodejs.git 5. --buildpack=https://github.com/ddollar/heroku-buildpack-multi.git But I get this error when trying to deploy : remote: -----> Fetching custom git buildpack... done remote: -----> PhantomJS app detected remote: -----> Fetching PhantomJS 1.9.8 binaries at https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 remote: -----> Extracting PhantomJS 1.9.8 binaries to /tmp/build_d85248ffdc50138a22fb863a0367b5f2/vendor/phantomjs remote: -----> exporting PATH and LIBRARY_PATH remote: -----> Fetching custom git buildpack... done remote: remote: ! Push rejected, failed to detect remote: remote: Verifying deploy... remote: remote: ! Push rejected to we-tennis-staging. remote: Is it possible to make Watir&phantomJS working with heroku ? -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.