mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
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:
parent
7b3801b2a8
commit
f03c627f75
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue