Skip to content

Commit a4aa66f

Browse files
committed
remove rvm/GHA code
1 parent a9768c2 commit a4aa66f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

macos/runtime_setup_stages/install_gems.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ if [[ -e /usr/local/rvm/bin/rvm-exec ]]; then
1111
RVM_EXEC=/usr/local/rvm/bin/rvm-exec
1212
elif [[ -e $HOME/.rvm/bin/rvm-exec ]]; then
1313
RVM_EXEC=$HOME/.rvm/bin/rvm-exec
14-
elif [ "${GITHUB_ACTIONS:-false}" = 'true' ]; then
15-
\curl -sSL https://get.rvm.io | bash
16-
source "$HOME/.rvm/scripts/rvm"
17-
RVM_EXEC=$HOME/.rvm/bin/rvm-exec
1814
else
1915
echo "*** ERROR: you must have RVM installed"
2016
exit 1
@@ -31,8 +27,6 @@ ALL_RUBIES_OK=true
3127
for RUBY_VERSION in "${RUBY_VERSIONS[@]}"; do
3228
if run_ruby "$RUBY_VERSION" ruby -v &>/dev/null; then
3329
echo "Ruby $RUBY_VERSION: ok"
34-
elif [ "${GITHUB_ACTIONS:-false}" = 'true' ]; then
35-
rvm install "ruby-$RUBY_VERSION" || ( cat "$HOME/.rvm/log/"*_"ruby-$RUBY_VERSION/configure.log" && false )
3630
else
3731
echo "Ruby $RUBY_VERSION: NOT INSTALLED! Please install it!"
3832
ALL_RUBIES_OK=false

0 commit comments

Comments
 (0)