diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2022-02-14 13:12:46 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2022-02-14 13:12:46 -0800 |
commit | e4ef4562c0bc1532275c7e61fc6e31ff8399997c (patch) | |
tree | 674e0227132c756f0aa9c1e9bd45762de2e2aa6d | |
parent | f52c90d728f690ceb46880bf9fda6020c3605d48 (diff) | |
download | chef-e4ef4562c0bc1532275c7e61fc6e31ff8399997c.tar.gz |
Fix windows hab builds with rake install:local
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | habitat/plan.ps1 | 4 |
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 { |