Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Adding documentation for --without option method of clearing list …
Browse files Browse the repository at this point in the history
…of groups to be skipped.
  • Loading branch information
mattconnolly committed Feb 24, 2012
1 parent d3003e4 commit 9aedd19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion man/bundle-install.ronn
Expand Up @@ -50,7 +50,10 @@ update process below under [CONSERVATIVE UPDATING][].

* `--without=<list>`:
A space-separated list of groups to skip installing. This is a
[remembered option][REMEMBERED OPTIONS].
[remembered option][REMEMBERED OPTIONS]. Subsequent use of `--without`
replaces the list of of groups that will be skipped. To totally
clear the list of groups to be skipped (include all groups),
specify `--without ''`.

* `--local`:
Do not attempt to connect to `rubygems.org`, instead using just
Expand Down
3 changes: 2 additions & 1 deletion man/gemfile.5.ronn
Expand Up @@ -91,7 +91,8 @@ 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.
without any `--without option`, bundler will recall it. You can run
`bundle install --without ''` to install all gems with all groups active (none skipped).

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
Expand Down

0 comments on commit 9aedd19

Please sign in to comment.