Skip to content

Commit

Permalink
Fix rbenv-installer links (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamnichols authored Apr 27, 2022
1 parent dc97bcd commit 324bffa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ function setup_rbenv {
;;
Linux*)
# https://github.com/rbenv/rbenv-installer
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
curl -fsSL https://raw.githubusercontent.com/rbenv/rbenv-installer/main/bin/rbenv-installer | bash
PATH="/root/.rbenv/bin:${PATH}"
eval "$(rbenv init -)"

wget -q "https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor" -O- | bash
wget -q "https://raw.githubusercontent.com/rbenv/rbenv-installer/main/bin/rbenv-doctor" -O- | bash

envman add --key PATH --value "${PATH}"
;;
*)
echo "ERROR: Unknown platform found ${platform}"
;;
esac
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor | bash
curl -fsSL https://raw.githubusercontent.com/rbenv/rbenv-installer/main/bin/rbenv-doctor | bash
}

setup_rbenv
Expand Down

0 comments on commit 324bffa

Please sign in to comment.