Skip to content

Commit

Permalink
Renamed default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed May 3, 2021
1 parent 4a5bb56 commit e017714
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ installed if `rbenv install` is not already available.

```sh
# with curl
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer | bash

# alternatively, with wget
wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer -O- | bash
wget -q https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer -O- | bash
```

The installer script is meant for casual use on your own development machine.
Expand All @@ -30,8 +30,8 @@ You can verify the state of your rbenv installation with:

```sh
# with curl
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash

# alternatively, with wget
wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor -O- | bash
wget -q https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor -O- | bash
```
2 changes: 1 addition & 1 deletion bin/rbenv-installer
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fi
echo "$((++i)). Run \`rbenv init' to view instructions on how to configure rbenv for your shell."
echo "$((++i)). Launch a new terminal window after editing shell configuration files."

url="https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor"
url="https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor"
if false && type -p curl >/dev/null; then
echo "$((++i)). (Optional) Run the doctor command to verify the installation:"
printf ' curl -fsSL "%s" | bash\n' "$url"
Expand Down

0 comments on commit e017714

Please sign in to comment.