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

Commit

Permalink
Document upcoming changes to remembered options
Browse files Browse the repository at this point in the history
  • Loading branch information
uasi committed Jul 12, 2019
1 parent 509f4a7 commit c16bb52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/bundle-config.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ prevents Bundler from installing certain groups specified in the Gemfile(5). Bun
persists this value in `app/.bundle/config` so that calls to `Bundler.setup`
do not try to find gems from the `Gemfile` that you didn't install. Additionally,
subsequent calls to [bundle install(1)](bundle-install.1.html) remember this setting
and skip those groups.
and skip those groups. (Upcoming changes in Bundler 3.x: `bundle install` will not
remember any given flags. To persist options, you will have to use `bundle config`.)

The canonical form of this configuration is `"without"`. To convert the canonical
form to the environment variable form, capitalize it, and prepend `BUNDLE_`. The
Expand Down
6 changes: 6 additions & 0 deletions man/bundle-install.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ In addition, a call to `Bundler.setup` will not attempt to make the
gems in those groups available on the Ruby load path, as they were
not installed.

Upcoming changes in Bundler 3.x: `bundle install` will not remember
any given flags. To persist options, you will have to use
`bundle config` (e.g., `bundle config path foo`).
See the LIST OF AVAILABLE KEYS section in
[bundle config(1)](bundle-config.1.html).

The settings that are remembered are:

* `--binstubs`:
Expand Down

0 comments on commit c16bb52

Please sign in to comment.