diff options
author | Vikram Karve <vikram.karve@progress.com> | 2022-06-30 00:03:02 +0530 |
---|---|---|
committer | Vikram Karve <vikram.karve@progress.com> | 2022-07-14 10:51:37 +0530 |
commit | 412940770ea09d8881bd7dee576e7b9e0f53b0ab (patch) | |
tree | 9f89ac0ddbbd40a73f45a0ab3ff0df9b0d3b0ab1 | |
parent | 3d6c81c3c84e1c7ddc06cdaa1c0ec34b974442c3 (diff) | |
download | chef-412940770ea09d8881bd7dee576e7b9e0f53b0ab.tar.gz |
restore excluded gem list
Signed-off-by: Vikram Karve <vikram.karve@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index e19e991640..4d3979813e 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -63,7 +63,7 @@ function Invoke-Prepare { Push-Location "${HAB_CACHE_SRC_PATH}/${pkg_dirname}" Write-BuildLine " ** Configuring bundler for this build environment" - bundle config --local without server docgen maintenance pry travis integration ci + bundle config --local without server docgen maintenance pry travis integration ci chefstyle if (-not $?) { throw "unable to configure bundler to restrict gems to be installed" } bundle config --local retry 5 bundle config --local silence_root_warning 1 @@ -80,6 +80,7 @@ function Invoke-Build { Write-BuildLine " ** Using bundler to retrieve the Ruby dependencies" bundle install + gem install chefstyle if (-not $?) { throw "unable to install gem dependencies" } Write-BuildLine " ** 'rake install' any gem sourced as a git reference so they'll look like regular gems." foreach($git_gem in (Get-ChildItem "$env:GEM_HOME/bundler/gems")) { |