vendor-install: use Mavericks portable Ruby.

This is not universal so is smaller (8MB vs 12MB). It also performs
5-10% faster at:
https://rubybench.org/ruby/ruby/releases?result_type=array_sample_100k___50k
This commit is contained in:
Mike McQuaid 2019-01-27 12:49:41 +00:00
parent 38cce518e0
commit 5084831a2b
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -16,9 +16,9 @@ if [[ -n "$HOMEBREW_MACOS" ]]
then
if [[ "$HOMEBREW_PROCESSOR" = "Intel" ]]
then
ruby_URL="$HOMEBREW_BOTTLE_DOMAIN/bottles-portable-ruby/portable-ruby-2.3.7.leopard_64.bottle.tar.gz"
ruby_URL2="https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.3.7/portable-ruby-2.3.7.leopard_64.bottle.tar.gz"
ruby_SHA="033ac518bb14abdb1bb47d968dc9e967c3ae2035499383a21a79b49d523065d1"
ruby_URL="$HOMEBREW_BOTTLE_DOMAIN/bottles-portable-ruby/portable-ruby-2.3.7.mavericks.bottle.tar.gz"
ruby_URL2="https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.3.7/portable-ruby-2.3.7.mavericks.bottle.tar.gz"
ruby_SHA="539ae571968fc74d4ec3a839cb33edc5786c219a5e6ae7fb6a09ec5fc1b04e4e"
fi
elif [[ -n "$HOMEBREW_LINUX" ]]
then