mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
More consistent usage of version option for commands in guides [skip ci]
In the getting started guide intro section both `-v` and `--version` are used: $ ruby -v $ sqlite3 --version $ node --version $ yarn -v $ rails --version Both ruby and yarn support `--version` as well, but sqlite3 does not support `-v`. For consistency use `--version` option for `ruby` and `yarn` commands.
This commit is contained in:
parent
9b6f7d7f54
commit
47a9943194
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ dollar sign `$` should be run in the command line. Verify that you have a
|
||||||
current version of Ruby installed:
|
current version of Ruby installed:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ruby -v
|
$ ruby --version
|
||||||
ruby 2.5.0
|
ruby 2.5.0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ instructions at the [Yarn website](https://classic.yarnpkg.com/en/docs/install).
|
||||||
Running this command should print out Yarn version:
|
Running this command should print out Yarn version:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ yarn -v
|
$ yarn --version
|
||||||
```
|
```
|
||||||
|
|
||||||
If it says something like "1.22.0", Yarn has been installed correctly.
|
If it says something like "1.22.0", Yarn has been installed correctly.
|
||||||
|
|
Loading…
Reference in a new issue