diff options
-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 |