summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Powell <powell@progress.com>2022-09-15 10:43:41 -0400
committerThomas Powell <powell@progress.com>2022-09-15 10:43:41 -0400
commit2e29b8e5a58ecfffd56cd7f14b0374086fbb79ef (patch)
treec8f90e4fab92567d1749a0645b5a760295bec0bc
parentc46a128005a271004ccf72a8ce9baccdbc519d7d (diff)
downloadchef-2e29b8e5a58ecfffd56cd7f14b0374086fbb79ef.tar.gz
Gem debug refresh
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r--habitat/plan.ps12
1 files changed, 2 insertions, 0 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 92fedfbc60..a1344ef686 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -96,6 +96,8 @@ function Invoke-Build {
Write-BuildLine " ** Running the chef project's 'rake install' to install the path-based gems so they look like any other installed gem."
bundle exec rake install:local # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler
if (-not $?) {
+ ruby -v
+ gem install pkg/chef-17.10.19-universal-mingw32.gem
Write-Warning " -- That didn't work. Let's try again."
bundle exec rake install:local # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler
if (-not $?) { throw "unable to install the gems that live in directories within this repo" }