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.
This commit is contained in:
Mike McQuaid 2019-03-05 08:26:38 +00:00
parent 0bf6ac8cf1
commit 141db03193
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -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"