aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-14 15:58:18 +0200
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2019-08-16 14:30:23 +0900
commite8fd720434e270d1021a57607a377b0f0c7517dd (patch)
treeb433a21ab06f3ff611189e1c6a6c97e31687b353 /man
parent502ad4d39103f91bea96be5c8247057dd39f21e2 (diff)
downloadruby-e8fd720434e270d1021a57607a377b0f0c7517dd.tar.gz
[bundler/bundler] Remove mention to remembered options
And instead educate users on the preferred, non deprecated, way. https://github.com/bundler/bundler/commit/9cd6238da2
Diffstat (limited to 'man')
-rw-r--r--man/gemfile.512
-rw-r--r--man/gemfile.5.ronn11
-rw-r--r--man/gemfile.5.txt14
3 files changed, 15 insertions, 22 deletions
diff --git a/man/gemfile.5 b/man/gemfile.5
index 884a1c5cd2..49e1186a65 100644
--- a/man/gemfile.5
+++ b/man/gemfile.5
@@ -218,23 +218,23 @@ Bundler\.require(:test) # requires the _test_ group
.IP "" 0
.
.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
.
.nf
-bundle install \-\-without test
-bundle install \-\-without development test
+bundle config set without test
+bundle config set without development test
.
.fi
.
.IP "" 0
.
.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)\.
.
.P
diff --git a/man/gemfile.5.ronn b/man/gemfile.5.ronn
index 5e9fda8851..832577130c 100644
--- a/man/gemfile.5.ronn
+++ b/man/gemfile.5.ronn
@@ -159,15 +159,12 @@ The Bundler runtime allows its two main methods, `Bundler.setup` and
Bundler.require(:test) # requires the _test_ group
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
-list of groups separated by spaces.
+not install with the `without` configuration.
- bundle install --without test
- bundle install --without development test
+To specify multiple groups to ignore, specify a list of groups separated by spaces.
-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.
+ bundle config set without test
+ bundle config set without development test
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
diff --git a/man/gemfile.5.txt b/man/gemfile.5.txt
index 71a57c9691..a37e35aa07 100644
--- a/man/gemfile.5.txt
+++ b/man/gemfile.5.txt
@@ -204,21 +204,17 @@ GEMS
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
- multiple groups to ignore, specify a list of groups separated by spa-
- ces.
+ dle install should not install with the without configuration.
+ To specify multiple groups to ignore, specify a list of groups sepa-
+ rated by spaces.
- bundle install --without test
- bundle install --without development test
+ bundle config set without 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
"bundler/setup" will setup all groups except for the ones you excluded