Skip to content

Commit

Permalink
Merge pull request #3226 from justin808/patch-23
Browse files Browse the repository at this point in the history
Differentiate v6 from v7 Rails
  • Loading branch information
guillaumebriday committed Nov 15, 2021
2 parents 9d55518 + 0801f97 commit d21f87e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,16 @@ leaving Webpack responsible solely for app-like JavaScript, or it can be used ex

You can configure a new Rails application with Webpacker right from the start using the `-j webpack` option:

With Rails v7:
```bash
rails new myapp -j webpack
```

With Rails v6:
```bash
rails new myapp
```

Or you can add it later by changing your `Gemfile`:

```ruby
Expand Down

0 comments on commit d21f87e

Please sign in to comment.