mirror of
https://github.com/inspec/inspec
synced 2024-11-21 20:23:06 +00:00
CFINSPEC-517: Fix for habitat buld failure (#6340)
* Fix for habitat buld failure - Git load issue Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> * Updating ruby installer version to 3.2.1 Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> * Revert "Updating ruby installer version to 3.2.1" This reverts commit53bae0f71e
. * Checking removing the lines which are not needed. Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> * Revert "Checking removing the lines which are not needed." This reverts commitb5561abc51
. Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
20f8d3b67f
commit
7fa49e5132
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,8 @@ $pkg_maintainer="The Chef Maintainers <humans@chef.io>"
|
|||
$pkg_license=('Apache-2.0')
|
||||
|
||||
$pkg_deps=@(
|
||||
"chef/ruby30-plus-devkit"
|
||||
"chef/ruby31-plus-devkit"
|
||||
"core/git"
|
||||
)
|
||||
$pkg_bin_dirs=@("bin"
|
||||
"vendor/bin")
|
||||
|
@ -32,6 +33,7 @@ function Invoke-SetupEnvironment {
|
|||
|
||||
function Invoke-Build {
|
||||
try {
|
||||
$env:Path += ";c:\\Program Files\\Git\\bin"
|
||||
Push-Location $project_root
|
||||
$env:GEM_HOME = "$HAB_CACHE_SRC_PATH/$pkg_dirname/vendor"
|
||||
|
||||
|
|
Loading…
Reference in a new issue