Skip to content

Commit bd63d39

Browse files
authored
Merge pull request rails#52563 from tnir/tn-use-bundle_only-on-guide-generation
guide(dev): use BUNDLE_ONLY variable to install required deps
2 parents 1dc6a11 + 02e4d4e commit bd63d39

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

guides/source/contributing_to_ruby_on_rails.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,9 @@ Note that translations are not submitted to the Rails repository; your work live
166166
To generate the guides in HTML format, you will need to install the guides dependencies, `cd` into the *guides* directory, and then run (e.g., for it-IT):
167167

168168
```bash
169-
# only install gems necessary for the guides. To undo run: bundle config --delete without
170-
$ bundle install --without job cable storage test db
169+
$ BUNDLE_ONLY=default:doc bundle install
171170
$ cd guides/
172-
$ bundle exec rake guides:generate:html GUIDES_LANGUAGE=it-IT
171+
$ BUNDLE_ONLY=default:doc bundle exec rake guides:generate:html GUIDES_LANGUAGE=it-IT
173172
```
174173

175174
This will generate the guides in an *output* directory.

0 commit comments

Comments
 (0)