Skip to content

Commit 52907ac

Browse files
Fix ruby permissions after Monterey upgrade
1 parent 4ef02a3 commit 52907ac

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

kokoro/release/ruby/macos/build_artifacts.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@ export ARTIFACT_DIR=$(pwd)/artifacts
1212
# ruby environment
1313
bash kokoro/release/ruby/macos/ruby/ruby_build_environment.sh
1414

15-
gem install rubygems-update
16-
update_rubygems
17-
1815
# build artifacts
1916
bash kokoro/release/ruby/macos/ruby/ruby_build.sh

kokoro/release/ruby/macos/ruby/ruby_build_environment.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
set -ex
44

5+
# Fix permissions
6+
sudo chown -R $(whoami) $HOME/.rvm/
7+
sudo chown -R $(whoami) /Library/Ruby/
8+
59
set +ex # rvm script is very verbose and exits with errorcode
610
source $HOME/.rvm/scripts/rvm
711
set -e # rvm commands are very verbose

0 commit comments

Comments
 (0)