1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Remove mention to remembered options

And instead educate users on the preferred, non deprecated, way.

https://github.com/bundler/bundler/commit/9cd6238da2
This commit is contained in:
David Rodríguez 2019-08-14 15:58:18 +02:00 committed by SHIBATA Hiroshi
parent 502ad4d391
commit e8fd720434
Notes: git 2019-08-31 04:40:14 +09:00
3 changed files with 16 additions and 23 deletions

View file

@ -218,23 +218,23 @@ Bundler\.require(:test) # requires the _test_ group
.IP "" 0 .IP "" 0
. .
.P .P
The Bundler CLI allows you to specify a list of groups whose gems \fBbundle install\fR should not install with the \fB\-\-without\fR option\. To specify multiple groups to ignore, specify a list of groups separated by spaces\. The Bundler CLI allows you to specify a list of groups whose gems \fBbundle install\fR should not install with the \fBwithout\fR configuration\.
.
.P
To specify multiple groups to ignore, specify a list of groups separated by spaces\.
. .
.IP "" 4 .IP "" 4
. .
.nf .nf
bundle install \-\-without test bundle config set without test
bundle install \-\-without development test bundle config set without development test
. .
.fi .fi
. .
.IP "" 0 .IP "" 0
. .
.P .P
After running \fBbundle install \-\-without test\fR, bundler will remember that you excluded the test group in the last installation\. The next time you run \fBbundle install\fR, without any \fB\-\-without option\fR, bundler will recall it\.
.
.P
Also, calling \fBBundler\.setup\fR with no parameters, or calling \fBrequire "bundler/setup"\fR will setup all groups except for the ones you excluded via \fB\-\-without\fR (since they are not available)\. Also, calling \fBBundler\.setup\fR with no parameters, or calling \fBrequire "bundler/setup"\fR will setup all groups except for the ones you excluded via \fB\-\-without\fR (since they are not available)\.
. .
.P .P

View file

@ -159,15 +159,12 @@ The Bundler runtime allows its two main methods, `Bundler.setup` and
Bundler.require(:test) # requires the _test_ group Bundler.require(:test) # requires the _test_ group
The Bundler CLI allows you to specify a list of groups whose gems `bundle install` should The Bundler CLI allows you to specify a list of groups whose gems `bundle install` should
not install with the `--without` option. To specify multiple groups to ignore, specify a not install with the `without` configuration.
list of groups separated by spaces.
bundle install --without test To specify multiple groups to ignore, specify a list of groups separated by spaces.
bundle install --without development test
After running `bundle install --without test`, bundler will remember that you excluded bundle config set without test
the test group in the last installation. The next time you run `bundle install`, bundle config set without development test
without any `--without option`, bundler will recall it.
Also, calling `Bundler.setup` with no parameters, or calling `require "bundler/setup"` Also, calling `Bundler.setup` with no parameters, or calling `require "bundler/setup"`
will setup all groups except for the ones you excluded via `--without` (since they will setup all groups except for the ones you excluded via `--without` (since they

View file

@ -204,22 +204,18 @@ GEMS
The Bundler CLI allows you to specify a list of groups whose gems bun- The Bundler CLI allows you to specify a list of groups whose gems bun-
dle install should not install with the --without option. To specify dle install should not install with the without configuration.
multiple groups to ignore, specify a list of groups separated by spa-
ces. To specify multiple groups to ignore, specify a list of groups sepa-
rated by spaces.
bundle install --without test bundle config set without test
bundle install --without development test bundle config set without development test
After running bundle install --without test, bundler will remember that
you excluded the test group in the last installation. The next time you
run bundle install, without any --without option, bundler will recall
it.
Also, calling Bundler.setup with no parameters, or calling require Also, calling Bundler.setup with no parameters, or calling require
"bundler/setup" will setup all groups except for the ones you excluded "bundler/setup" will setup all groups except for the ones you excluded
via --without (since they are not available). via --without (since they are not available).