summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram Karve <vikram.karve@progress.com>2022-07-15 16:28:25 +0530
committerVikram Karve <vikram.karve@progress.com>2022-07-26 13:02:38 +0530
commitb206ea56f39ddd0c6d70b589d5f5a647337fb6cd (patch)
treef571fa42082b8b2778971885d69a2393392e8705
parent0bbb3241658cf360d19964058ba0e10c39dec715 (diff)
downloadchef-b206ea56f39ddd0c6d70b589d5f5a647337fb6cd.tar.gz
script minor fix
Signed-off-by: Vikram Karve <vikram.karve@progress.com>
-rw-r--r--habitat/plan.ps16
1 files changed, 3 insertions, 3 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 7dee137148..46ef92d8f6 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -86,7 +86,7 @@ function Invoke-Build {
try {
Push-Location $git_gem
Write-BuildLine " -- installing $git_gem"
- rake install --trace # this needs to NOT be 'bundle exec'd else bundler complains about dev deps not being installed
+ rake install --trace=stdout # this needs to NOT be 'bundle exec'd else bundler complains about dev deps not being installed
if (-not $?) { throw "unable to install $git_gem as a plain old gem" }
} finally {
Pop-Location
@@ -104,8 +104,8 @@ function Invoke-Build {
Start-Sleep -Seconds 5
$install_attempt++
Write-BuildLine "Install attempt $install_attempt"
- bundle exec rake install:local # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler
- } while ((-not $?) && $install_attempt < 10)
+ bundle exec rake install:local --trace=stdout # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler
+ } while ((-not $?) && $install_attempt -lt 10)
} finally {
Pop-Location