diff options
author | Lamont Granquist <454857+lamont-granquist@users.noreply.github.com> | 2022-02-14 13:13:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 13:13:54 -0800 |
commit | be72884c52aebbc66d17892026f5687d05ff550d (patch) | |
tree | 890c4cc2cb08a443f087e831a34456856e182668 | |
parent | d91e0feeb3012c2dd9e3d362c41f59cb256214c8 (diff) | |
parent | e4ef4562c0bc1532275c7e61fc6e31ff8399997c (diff) | |
download | chef-be72884c52aebbc66d17892026f5687d05ff550d.tar.gz |
Merge pull request #12579 from chef/lcg/fix-hab-builds
-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 { |