docs: use current macOS Ruby versions

This commit is contained in:
Frank Taillandier 2018-11-16 09:39:33 +01:00 committed by GitHub
parent 26608929dc
commit 7184404c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ Check your Ruby version meets our requirements. Jekyll requires Ruby 2.2.5 or ab
```sh ```sh
ruby -v ruby -v
2.3.3 ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
``` ```
Now install Jekyll and [Bundler](/docs/ruby-101/#bundler). Now install Jekyll and [Bundler](/docs/ruby-101/#bundler).
@ -48,10 +48,10 @@ Restart your terminal for changes to take effect.
Now we can install the Ruby version of our choice, let's go with Ruby 2.5.1 here: Now we can install the Ruby version of our choice, let's go with Ruby 2.5.1 here:
```sh ```sh
rbenv install 2.5.1 rbenv install 2.5.3
rbenv global 2.5.1 rbenv global 2.5.3
ruby -v ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17] ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]
``` ```
That's it! Head over [rbenv command references](https://github.com/rbenv/rbenv#command-reference) to learn how to use different versions of Ruby in your projects. That's it! Head over [rbenv command references](https://github.com/rbenv/rbenv#command-reference) to learn how to use different versions of Ruby in your projects.