2017-05-26 / syui

sns

mastdon-heroku-build

古くからHeroku DeployしているUserはheroku buildpackが入ってないので以下のErrorがでると思われ、それをDeployできるようにした。

$ git push heroku master
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-apt

$ heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt
$ heroku run bash -a apt-pg-test
# heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
$ echo libpq-dev >> Aptfile
$ git add Aptfile
$ git commit -m "add : aptfile libpq-dev"

URL :

http://tooky.co.uk/using-charklock_holmes-on-heroku/

なお、mastodon(master)はfileの場所がコロコロ変わるし継続してmergeする状況ではないため、custom(original)はやめることにした。

現在の最新は1.4.0, 使用は1.3.2です。