Skip to content

Commit

Permalink
README: Update installation script
Browse files Browse the repository at this point in the history
Indent the arguments passed to `rails new` so that the installation
script can be copied and invoked without error.

Point the `-m` argument to `main`, so that when this pull request is
merged, the documentation will be accurate.
  • Loading branch information
stevepolitodesign committed May 2, 2024
1 parent f9a702a commit a175e7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ We skip the [default test framework][] in favor of [RSpec][], and [prefer
PostgreSQL][] as our database.

```
rails new <my_app> \
--skip-test \
-d=postgresql \
-m=https://raw.githubusercontent.com/thoughtbot/suspenders/lib/install/web.rb
rails new app_name \
--skip-test \
-d=postgresql \
-m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb
```

Then run `bin/setup` within the newly generated application.
Expand Down

0 comments on commit a175e7a

Please sign in to comment.