Remove brew update instruction (#2151)

because `brew update` runs automatically on `brew upgrade` by default since long time ago.
This commit is contained in:
Masato Ohba 2023-02-21 00:00:59 +09:00 committed by GitHub
parent 4d2e1cc08f
commit 46878c9646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ brew install ruby-build
Upgrade with:
```sh
brew update && brew upgrade ruby-build
brew upgrade ruby-build
```
### Clone as rbenv plugin using git

View file

@ -240,7 +240,7 @@ if [ "$STATUS" == "2" ]; then
echo -n "If the version you need is missing, try upgrading ruby-build"
if [ "$here" != "${here#$(brew --prefix 2>/dev/null)}" ]; then
printf ":\n\n"
echo " brew update && brew upgrade ruby-build"
echo " brew upgrade ruby-build"
elif [ -d "${here}/.git" ]; then
printf ":\n\n"
echo " git -C ${here} pull"

View file

@ -114,7 +114,7 @@ See all available versions with \`rbenv install --list'.
If the version you need is missing, try upgrading ruby-build:
brew update && brew upgrade ruby-build
brew upgrade ruby-build
OUT
unstub brew