bundle update --source napa
There are a couple of ways of utilizing multiple buildpacks on Heroku.
David Dollar has a convenient heroku-buildpack-multi,
which looks at a .buildpacks
file to download, execute, and continue through each buildpack
defined in .buildpacks
. This file clearly defines all the buildpacks and their order; therefore,
I will suggest this method over the CLI method described later:
heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git
Add the following to a .buildpacks
file in our root directory:
https://github.com/bellycard/heroku-buildpack-gitsha.git
https://github.com/heroku/heroku-buildpack-ruby.git
Please refer to this article on heroku
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-ruby
heroku buildpacks:add --index 1 https://github.com/bellycard/heroku-buildpack-gitsha.git
heroku buildpacks
NOTE: If you wantt to switch from this method to using ddollar's heroku-buildpack-multi, you will need to clear the existing buildpacks:
heroku buildpacks:clear
This buildpack will include a new .gitsha
file containing the git revesion
If you are using napa, this will be available to the /health
endpoint