Update ruby version for macos guide (#9086)

Merge pull request 9086
This commit is contained in:
Andrii Abramov 2022-07-14 02:45:36 +03:00 committed by GitHub
parent 3d23171d22
commit 18e5e5223b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
min_version: 2.5.0
current_version: 3.1.1
current_version_output: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236)
current_version: 3.1.2
current_version_output: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a)

View File

@ -63,7 +63,7 @@ automatically use `chruby`:
```sh
echo "source $(brew --prefix)/opt/chruby/share/chruby/chruby.sh" >> ~/.zshrc
echo "source $(brew --prefix)/opt/chruby/share/chruby/auto.sh" >> ~/.zshrc
echo "chruby ruby-{{ site.data.ruby.current_version }}" >> ~/.zshrc
echo "chruby ruby-{{ site.data.ruby.current_version }}" >> ~/.zshrc # run 'chruby' to see actual version
```
If you're using Bash, replace `.zshrc` with `.bash_profile`. If you're not sure,