diff options
author | Thomas Powell <powell@progress.com> | 2022-09-15 13:18:04 -0400 |
---|---|---|
committer | Thomas Powell <powell@progress.com> | 2022-09-15 13:18:04 -0400 |
commit | 958b9f267a9bfdfa984e9c4ee5532939149a8c7b (patch) | |
tree | c1ec0ec5813639bfd85feb2a4471027adbcfe012 | |
parent | 42532e64edae2db9a96d88d12727ec78dbeb5f4a (diff) | |
download | chef-tp/INFC-252-debug.tar.gz |
Force uninstall just to seetp/INFC-252-debug
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index a1344ef686..0f7d412b41 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -96,7 +96,9 @@ 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 $?) { + gem ruby -v + gem uninstall --silent chef-utils --force -v '17.10.0' 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 |