From d2661a15e7363c151ca3843c4a355322d437cb70 Mon Sep 17 00:00:00 2001 From: nitin sanghi Date: Mon, 25 May 2026 16:38:47 +0530 Subject: [PATCH 1/2] removed extra gem from hab pkg build Signed-off-by: nitin sanghi --- habitat/plan.ps1 | 2 +- habitat/plan.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index a503213c..9850ed15 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -45,7 +45,7 @@ function Invoke-Build { $env:GEM_HOME = "$HAB_CACHE_SRC_PATH/$pkg_dirname/vendor" Write-BuildLine " ** Configuring bundler for this build environment" - bundle config --local without integration deploy maintenance + bundle config --local without integration deploy maintenance test development profile bundle config --local jobs 4 bundle config --local retry 5 bundle config --local silence_root_warning 1 diff --git a/habitat/plan.sh b/habitat/plan.sh index c608ab6d..f7fdde12 100644 --- a/habitat/plan.sh +++ b/habitat/plan.sh @@ -38,7 +38,7 @@ do_build() { build_line "Setting GEM_PATH=$GEM_HOME" export GEM_PATH="$GEM_HOME" - bundle config --local without integration deploy maintenance + bundle config --local without integration deploy maintenance test development profile bundle config --local jobs 4 bundle config --local retry 5 bundle config --local silence_root_warning 1 From 68efd99f14cdbcc8b54491301972954c9d7ca7b2 Mon Sep 17 00:00:00 2001 From: nitin sanghi Date: Mon, 25 May 2026 17:15:52 +0530 Subject: [PATCH 2/2] Added appbundler for all gems need for hab pkg build Signed-off-by: nitin sanghi --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 5538f21c..1408b827 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,7 @@ gemspec gem "logger", "< 1.6" # 1.6 causes errors with mixlib-log < 3.1.1 gem "chefspec" +gem "appbundler" group :test do gem "rake" @@ -27,7 +28,6 @@ group :development do gem "pry" gem "pry-byebug" gem "rb-readline" - gem "appbundler" end group :profile do