summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2022-02-14 13:12:46 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2022-02-14 13:12:46 -0800
commite4ef4562c0bc1532275c7e61fc6e31ff8399997c (patch)
tree674e0227132c756f0aa9c1e9bd45762de2e2aa6d
parentf52c90d728f690ceb46880bf9fda6020c3605d48 (diff)
downloadchef-e4ef4562c0bc1532275c7e61fc6e31ff8399997c.tar.gz
Fix windows hab builds with rake install:local
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--habitat/plan.ps14
1 files 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 {