From 141db031933eec278ff6815226fd97de5ac6f3cc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 5 Mar 2019 08:26:38 +0000 Subject: [PATCH] vendor-gems: fix output location, also run pristine. This means the output is consistent and ensures that we get rid of any local cruft when installing. --- Library/Homebrew/dev-cmd/vendor-gems.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/vendor-gems.rb b/Library/Homebrew/dev-cmd/vendor-gems.rb index ef43a1181e..a40522a7a2 100644 --- a/Library/Homebrew/dev-cmd/vendor-gems.rb +++ b/Library/Homebrew/dev-cmd/vendor-gems.rb @@ -20,8 +20,11 @@ module Homebrew Homebrew.install_bundler! - ohai "cd #{HOMEBREW_LIBRARY_PATH}/vendor" + ohai "cd #{HOMEBREW_LIBRARY_PATH}" HOMEBREW_LIBRARY_PATH.cd do + ohai "bundle pristine" + safe_system "bundle", "pristine" + ohai "bundle install --standalone" safe_system "bundle", "install", "--standalone"