diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-22 13:38:30 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-22 13:38:30 -0700 |
commit | 8c04867fe1e776ecf26c601850b3e3c8af23d6fb (patch) | |
tree | 0ae8b39513650bca3f3467b358858554917b0c3d /habitat | |
parent | 624e80f9b04bfa8be763d95d0a095c80e501b71c (diff) | |
download | chef-8c04867fe1e776ecf26c601850b3e3c8af23d6fb.tar.gz |
Chef 16: backport the post-bundle-install support
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'habitat')
-rw-r--r-- | habitat/plan.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/habitat/plan.sh b/habitat/plan.sh index 64f424dfac..50868b1a3e 100644 --- a/habitat/plan.sh +++ b/habitat/plan.sh @@ -94,14 +94,10 @@ do_build() { ( cd "$CACHE_PATH" || exit_with "unable to enter hab-cache directory" 1 build_line "Installing gem dependencies ..." bundle install --jobs=3 --retry=3 + build_line "Installing gems from git repos properly ..." + ruby ./post-bundle-install.rb build_line "Installing this project's gems ..." bundle exec rake install - for gem in $GEM_HOME/bundler/gems/*; do - ( cd $gem - build_line "Installing gems from git repos properly ..." - rake install - ) - done ) } |