Skip to content

Commit

Permalink
Yeet.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Sep 3, 2024
1 parent 1f91d78 commit f30cf94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,15 @@ jobs:
tar -xvzf ruby-with-python.tgz -C `pwd`/distributable
DARWIN_VERSION=$(sw_vers -productVersion | cut -d '.' -f 1)
if [ "$(uname -m)" = "arm64" ]; then
sudo mv `pwd`/distributable/opt/* /opt/
sudo cp -R `pwd`/distributable/opt/homebrew/ /opt/homebrew/
INSTALL_DIR="/opt/homebrew"
RUBY_PLATFORM_PAIR="arm64-darwin${DARWIN_VERSION}"
else
sudo mv `pwd`/distributable/usr/local/* /usr/local/
sudo cp -R `pwd`/distributable/usr/local/ /usr/local/
INSTALL_DIR="/usr/local"
RUBY_PLATFORM_PAIR="x86_64-darwin${DARWIN_VERSION}"
fi
rm -rf `pwd`/distributable
export PATH="${INSTALL_DIR}/bin:$PATH"
export RUBYLIB="${INSTALL_DIR}/lib/ruby/3.3.0:${INSTALL_DIR}/lib/ruby/3.3.0/${RUBY_PLATFORM_PAIR}"
export GEM_PATH="${INSTALL_DIR}/lib/ruby/gems/3.3.0"
Expand Down

0 comments on commit f30cf94

Please sign in to comment.