Skip to content

Commit

Permalink
remove rvm/GHA code
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Aug 28, 2024
1 parent a9768c2 commit a4aa66f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions macos/runtime_setup_stages/install_gems.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ if [[ -e /usr/local/rvm/bin/rvm-exec ]]; then
RVM_EXEC=/usr/local/rvm/bin/rvm-exec
elif [[ -e $HOME/.rvm/bin/rvm-exec ]]; then
RVM_EXEC=$HOME/.rvm/bin/rvm-exec
elif [ "${GITHUB_ACTIONS:-false}" = 'true' ]; then
\curl -sSL https://get.rvm.io | bash
source "$HOME/.rvm/scripts/rvm"
RVM_EXEC=$HOME/.rvm/bin/rvm-exec
else
echo "*** ERROR: you must have RVM installed"
exit 1
Expand All @@ -31,8 +27,6 @@ ALL_RUBIES_OK=true
for RUBY_VERSION in "${RUBY_VERSIONS[@]}"; do
if run_ruby "$RUBY_VERSION" ruby -v &>/dev/null; then
echo "Ruby $RUBY_VERSION: ok"
elif [ "${GITHUB_ACTIONS:-false}" = 'true' ]; then
rvm install "ruby-$RUBY_VERSION" || ( cat "$HOME/.rvm/log/"*_"ruby-$RUBY_VERSION/configure.log" && false )
else
echo "Ruby $RUBY_VERSION: NOT INSTALLED! Please install it!"
ALL_RUBIES_OK=false
Expand Down

0 comments on commit a4aa66f

Please sign in to comment.