From e4ef4562c0bc1532275c7e61fc6e31ff8399997c Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 14 Feb 2022 13:12:46 -0800 Subject: Fix windows hab builds with rake install:local Signed-off-by: Lamont Granquist --- habitat/plan.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index fac1ada42f..92fedfbc60 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -94,10 +94,10 @@ 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 # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler + bundle exec rake install:local # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler if (-not $?) { Write-Warning " -- That didn't work. Let's try again." - bundle exec rake install # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler + 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" } } } finally { -- cgit v1.2.1