I’m trying to use phantom.js custom buildpack on Heroku (https://github.com/stomita/heroku-buildpack-phantomjs)
I followed the directions and created a project with
heroku create --stack cedar --buildpack http://github.com/stomita/heroku-buildpack-phantomjs.git
But when I do that everything seems to go wrong. I initially thought it was some other problem(Heroku run rake db:migrate error with "no such file to load — bundler/setup") but realized after creating a new app without the buildpack that it is the buildpack that is causing the problem.
Basically when I use the buildpack, everything goes wrong: None of my processes gets launched, bundle process doesn’t work, etc.
How can I resolve this issue?
This works for me:
heroku create --stack cedar --buildpack http://github.com/stomita/heroku-buildpack-phantomjs.gitto create a new Heroku app on your Heroku account.git@heroku.com:stark-mist-2296.gitand change into the clone directory.rails new .to create a new blank Rails app.Gemfileto use Postgres on Heroku—pginstead ofsqlite3.git push origin master.You should see a blank Rails app.
It could be that you are not using the
pggem on Heroku.References