Skip to content

Commit

Permalink
Add ruby update to post clone
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieobject committed May 8, 2024
1 parent 4e41ad9 commit b007fa5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
17 changes: 15 additions & 2 deletions ios/ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,24 @@
# include helpers
source retry.sh

echo "###===== Installing Cocoapods"
echo "###===== Installing Node"
retry 5 brew install node

echo "###===== Installing Homebrew"
echo "###===== Installing Cocoapods"
retry 5 brew install cocoapods

echo "###===== Add Ruby to PATH"

# Determine Homebrew installation location
if [[ -d "/opt/homebrew" ]]; then
HOMEBREW_PREFIX="/opt/homebrew"
else
HOMEBREW_PREFIX="/usr/local"
fi

echo "export PATH=\"$HOMEBREW_PREFIX/opt/ruby/bin:\$PATH\"" >> ~/.zshrc
source ~/.zshrc
ruby -v

echo "###===== Installing Yarn"
npm install --global yarn
1 change: 1 addition & 0 deletions ios/ci_scripts/ci_pre_xcodebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ echo "####===== Run: yarn install"
yarn install

echo "####===== Run bundle install"
bundle update --bundler
bundle install

echo "####===== Run bundle exec pod install"
Expand Down

0 comments on commit b007fa5

Please sign in to comment.