CFINSPEC-517: Fix for habitat buld failure (#6340) (#6461)

* Fix for habitat buld failure - Git load issue



* Updating ruby installer version to 3.2.1



* Revert "Updating ruby installer version to 3.2.1"

This reverts commit 53bae0f71e.

* Checking removing the lines which are not needed.



* Revert "Checking removing the lines which are not needed."

This reverts commit b5561abc51.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
This commit is contained in:
Nikita Mathur 2023-02-24 16:25:51 +05:30 committed by GitHub
parent e95571fa05
commit 5f69dea2ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"