summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-06-25 12:03:31 -0700
committerJohn McCrae <john.mccrae@progress.com>2022-06-25 12:03:31 -0700
commit224bed31673908b63bff33326a11a880d6511663 (patch)
treef934a49a1c12de941218f480569842273feba88e
parente7419b3884799639303e4bd3b1cc4a2fe004a854 (diff)
downloadchef-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.ps111
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 {