Skip to content

Commit

Permalink
Update docs and propose using --strict for adding gems
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha committed Oct 27, 2022
1 parent db5b48c commit 8850be6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Note, the best way to understand how to use ReactOnRails is to study a few simpl
1. Add the `shakapacker` and `react_on_rails` gem to Gemfile:

```bash
bundle add shakapacker
bundle add shakapacker --strict
bundle add react_on_rails --strict
```

Expand Down
9 changes: 5 additions & 4 deletions docs/guides/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ cd test-react-on-rails
```

## Add the shakapacker and react_on_rails gems
We recomment to use latest version of these gems. Otherwise, specify the exact versions
of both the gem and npm package. In other words, don't use the `^` or `~` in the version specifications.
We recommend using the latest version of these gems. Otherwise, specify the
exact versions of both gems. In other words, don't use the `>=` or `~>` in the
version specifications.

```bash
bundle add react_on_rails
bundle add shakapacker
bundle add react_on_rails --strict
bundle add shakapacker --strict
```

Note: The latest released React On Rails version is considered stable. Please use the latest
Expand Down

0 comments on commit 8850be6

Please sign in to comment.