Skip to content

Commit

Permalink
Bump ruby distribution
Browse files Browse the repository at this point in the history
Use a more modern Ruby distribution on top of Jammy

Signed-off-by: Aidan Delaney <[email protected]>
  • Loading branch information
AidanDelaney committed Feb 27, 2023
1 parent a3a447e commit 6114e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildpacks/ruby-bundler/bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mkdir -p "${ruby_layer_dir}"
ruby_version=$(cat "${plan_path}" | yj -t | jq -r '.entries[] | select(.name == "ruby") | .version')

echo "---> Downloading and extracting Ruby ${ruby_version}"
ruby_url=https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-${ruby_version}.tgz
ruby_url=https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-22/ruby-${ruby_version}.tgz
wget -q -O - "${ruby_url}" | tar -xzf - -C "${ruby_layer_dir}"

# 3. MAKE RUBY AVAILABLE DURING LAUNCH
Expand Down

0 comments on commit 6114e53

Please sign in to comment.