title: how to run phantomjs on heroku?
body: <p>I am trying to run phantomjs on the heroku cedar stack.</p>
  
  <p>I am using a phantomjs buildpack for heroku <a href="https://github.com/stomita/heroku-buildpack-phantomjs" rel="noreferrer">https://github.com/stomita/heroku-buildpack-phantomjs</a>.
  However I followed the instructions but still cannot make it work.
  When I run the command <code>heroku run bash</code> and type <code>phantomjs --version</code> it says <code>phantomjs: command not found</code></p>
  
  <p>I read things about LD_LIBRARY_PATH that needs to be set to "/usr/local/lib:/usr/lib:/lib:/app/vendor/phantomjs/lib", this is what i did but without success.</p>
  
  <p>Is there something that i am missing ?
  Where does the buildpack install the phantomjs binary exactly ? Is there a way to know the path where the binary is ?</p>
  
  <p>I am using ruby 1.9.2</p>
  
  <p>Thanks a lot for your help.</p>
  
  <p>EDIT: To be more precise, i want to combine ruby and phantomjs, so i am using this custom buildpack: <a href="https://github.com/ddollar/heroku-buildpack-multi" rel="noreferrer">https://github.com/ddollar/heroku-buildpack-multi</a>, but when i push to heroku i get "Heroku push rejected, failed to compile Multipack app"</p>