PhantomJS - Heroku

version違いか、他サイト様のやり方で動かなかった。。。

試行錯誤の結果、これで動いたのでメモ。

$ heroku buildpacks:set https://github.com/stomita/heroku-buildpack-phantomjs.git
Buildpack set. Next release on your-project will use https://github.com/stomita/heroku-buildpack-phantomjs.git.
Run git push heroku master to create a new release using this buildpack.

$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-nodejs
Buildpack added. Next release on koms-tools will use:
  1. https://github.com/stomita/heroku-buildpack-phantomjs.git
  2. https://github.com/heroku/heroku-buildpack-nodejs
Run git push heroku master to create a new release using these buildpacks.

$ git push heroku