From f73e0581893c59b4895faee852916a2c658256fb Mon Sep 17 00:00:00 2001 From: Matt Larraz Date: Tue, 28 Nov 2023 22:10:19 -0500 Subject: [PATCH 1/3] Allow custom vendored Ruby URL Lets us provide our own custom set of vendored Ruby runtimes. Currently in use on our fork of this repo, but we'd like to merge it upstream. --- bin/support/download_ruby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/support/download_ruby b/bin/support/download_ruby index 37737ba8d..d3087b175 100755 --- a/bin/support/download_ruby +++ b/bin/support/download_ruby @@ -26,7 +26,7 @@ curl_retry_on_18() { regex=".*ruby_version = [\'\"]([0-9]+\.[0-9]+\.[0-9]+)[\'\"].*" if [[ $(cat "$BIN_DIR/../buildpack.toml") =~ $regex ]] then - heroku_buildpack_ruby_url="https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com/$STACK/ruby-${BASH_REMATCH[1]}.tgz" + heroku_buildpack_ruby_url="${BUILDPACK_VENDOR_URL:-https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com}/$STACK/ruby-${BASH_REMATCH[1]}.tgz" else echo "Could not detect ruby version to bootstrap" exit 1 From 374c117d64eff7f575d3927e3794d1b1cce6e3f4 Mon Sep 17 00:00:00 2001 From: Schneems Date: Tue, 5 Dec 2023 15:04:18 -0600 Subject: [PATCH 2/3] Changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e79994251..66033647e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Main (unreleased) +- Fix BUILDPACK_VENDOR_URL support (https://github.com/heroku/heroku-buildpack-ruby/pull/1409) + ## v262 (2023/11/08) - Warn when relying on default Node.js or Yarn versions (https://github.com/heroku/heroku-buildpack-ruby/pull/1401) From 6ff7a2ee28398e4efeedf616b2818ee3b29b6847 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Wed, 6 Dec 2023 10:43:02 +0000 Subject: [PATCH 3/3] Correct changelog PR URL --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66033647e..0cfed7906 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Main (unreleased) -- Fix BUILDPACK_VENDOR_URL support (https://github.com/heroku/heroku-buildpack-ruby/pull/1409) +- Fix BUILDPACK_VENDOR_URL support (https://github.com/heroku/heroku-buildpack-ruby/pull/1406) ## v262 (2023/11/08)