diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2019-01-10 10:20:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-10 10:20:03 +0100 |
commit | ee6f5505699da3f5c40dc263c3d1f133e074e6c0 (patch) | |
tree | 16d2c1b9424be09ddf0bf47f2fef543548e7e91a | |
parent | 302e7b4d2b97a2f4742296234b66507842bb096b (diff) | |
parent | 38f0fa394b1d75772a37aac2829a51a037d3271f (diff) |
Merge pull request #17682 from apolcyn/attempt_homebrew_fix
Attempt to fix homebrew installation problem
-rw-r--r-- | tools/internal_ci/helper_scripts/prepare_build_macos_rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc index 632db5ae14..5b6b256939 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc @@ -38,6 +38,8 @@ if [ -n "$KOKORO_GITHUB_PULL_REQUEST_NUMBER" ]; then fi set +ex # rvm script is very verbose and exits with errorcode +# Advice from https://github.com/Homebrew/homebrew-cask/issues/8629#issuecomment-68641176 +brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup source $HOME/.rvm/scripts/rvm set -e # rvm commands are very verbose time rvm install 2.5.0 |