Skip to content

Commit

Permalink
Update order of args in rails new command (#1490)
Browse files Browse the repository at this point in the history
The current command creates a project with the name of `--skip-turbolinks` rather taking it as an option. As per rails documentation, options comes at the end, after the APP_PATH: rails new APP_PATH [options]
  • Loading branch information
ahangarha authored Oct 26, 2022
1 parent 741d425 commit b4b39df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cd <directory where you want to create your new Rails app>
# Any name you like for the rails app
# Skip javascript so will add that next and get the current version
# This is for Rails 7
rails new --skip-turbolinks --skip-javascript test-react-on-rails
rails new test-react-on-rails --skip-turbolinks --skip-javascript

cd test-react-on-rails
```
Expand Down

0 comments on commit b4b39df

Please sign in to comment.