by feedbackfruits



A heroku buildpack for changing the repository urls as part of the application build. It's meant to be used with heroku-buildpack-multi, before other buildpacks which require the urls to be replaced, like installing private bundler modules from github.

Example usage

Upload the original and replacement urls to heroku.

$ heroku config:set ORIGINAL_REPO_URL=""
$ heroku config:set REPLACEMENT_REPO_URL="https:\/\/$\/"

Use the Heroku Toolbelt to add this buildpack. Use --index to make sure the buildpack runs before any others which might need the replacements to be setup:

$ heroku buildpacks:add --index 1