diff options
author | John McCrae <john.mccrae@progress.com> | 2022-06-25 12:03:31 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-06-25 12:03:31 -0700 |
commit | 224bed31673908b63bff33326a11a880d6511663 (patch) | |
tree | f934a49a1c12de941218f480569842273feba88e | |
parent | e7419b3884799639303e4bd3b1cc4a2fe004a854 (diff) | |
download | chef-224bed31673908b63bff33326a11a880d6511663.tar.gz |
Adding tracing to tease out more details on the failure
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index 55ebeb0be4..e39d06b8e9 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -79,6 +79,10 @@ function Invoke-Build { $env:_BUNDER_WINDOWS_DLLS_COPIED = "1" + # jfm + $gem_array = @() + # end jfm + Write-BuildLine " ** Using bundler to retrieve the Ruby dependencies" bundle install --jobs=3 --retry=3 if (-not $?) { throw "unable to install gem dependencies" } @@ -87,10 +91,15 @@ function Invoke-Build { try { Push-Location $git_gem + $gem_array += $git_gem # jfm remove this Write-BuildLine " -- installing $git_gem" rake install # this needs to NOT be 'bundle exec'd else bundler complains about dev deps not being installed + # jfm line below added for debugging - gem install $git_gem + Write-BuildLine " -- Location: $PWD" + + Write-BuildLine " -- Gems: $gem_array" + # jfm end if (-not $?) { throw "unable to install $git_gem as a plain old gem" } } finally { |