Skip to content

Commit

Permalink
Adds documentation for BUNDLE_APP_CONFIG env var
Browse files Browse the repository at this point in the history
  • Loading branch information
dchandekstark committed Jan 10, 2020
1 parent d9ea09d commit c5adc31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions man/bundle-config.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This command allows you to interact with Bundler's configuration system.

Bundler loads configuration settings in this order:

1. Local config (`app/.bundle/config`)
1. Local config (`app/.bundle/config` or `ENV['BUNDLE_APP_CONFIG']/.bundle/config`)
2. Environmental variables (`ENV`)
3. Global config (`~/.bundle/config`)
4. Bundler default config
Expand All @@ -31,7 +31,9 @@ overridden and user will be warned.
Executing `bundle config set --global <name> <value>` works the same as above.

Executing `bundle config set --local <name> <value>` will set that configuration to
the local application. The configuration will be stored in `app/.bundle/config`.
the local application. The configuration will be stored in `app/.bundle/config`. If
`BUNDLE_APP_CONFIG` is set, the configuration will be stored in
`$BUNDLE_APP_CONFIG/.bundle/config`.

Executing `bundle config unset <name>` will delete the configuration in both
local and global sources.
Expand Down

0 comments on commit c5adc31

Please sign in to comment.