Upgrade the habitat Ruby dependency to 2.6

We're using ruby 2.6.6 for omnibus via `omnibus_overrides.rb`, but the
core/ruby package is actually Ruby 2.5.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
This commit is contained in:
Bryan McLellan 2020-10-21 19:42:37 -04:00
parent 7b3801b2a8
commit f03c627f75

View file

@ -10,7 +10,7 @@ pkg_license=('Apache-2.0')
pkg_deps=( pkg_deps=(
core/coreutils core/coreutils
core/git core/git
core/ruby core/ruby26
core/bash core/bash
) )
pkg_build_deps=( pkg_build_deps=(
@ -76,7 +76,7 @@ export PATH="/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:\$PATH
export GEM_HOME="$GEM_HOME" export GEM_HOME="$GEM_HOME"
export GEM_PATH="$GEM_PATH" export GEM_PATH="$GEM_PATH"
exec $(pkg_path_for core/ruby)/bin/ruby $real_bin \$@ exec $(pkg_path_for core/ruby26)/bin/ruby $real_bin \$@
EOF EOF
chmod -v 755 "$bin" chmod -v 755 "$bin"
} }