diff options
author | Stephanie Morillo <rubymorillo@users.noreply.github.com> | 2018-03-28 10:00:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 10:00:23 -0400 |
commit | f0b4b1e3b0ab38801e9b1fb20d61e5ea172175c8 (patch) | |
tree | e40952ae5ffe453377d6ebf7f0265cdbca2da5f6 | |
parent | 3cad98f73b76baca15e34ea72bb32954b03f8b38 (diff) | |
download | bundler-f0b4b1e3b0ab38801e9b1fb20d61e5ea172175c8.tar.gz |
Document the order Bundler loads settings
Parsed out the information in the first graph in order to help users understand the order of priority Bundler follows when loading config settings.
-rw-r--r-- | man/bundle-config.ronn | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/man/bundle-config.ronn b/man/bundle-config.ronn index 35a400bdeb..74f562fedf 100644 --- a/man/bundle-config.ronn +++ b/man/bundle-config.ronn @@ -7,10 +7,14 @@ bundle-config(1) -- Set bundler configuration options ## DESCRIPTION -This command allows you to interact with bundler's configuration system. -Bundler retrieves its configuration from the local application (`app/.bundle/config`), -environment variables, and the user's home directory (`~/.bundle/config`), -in that order of priority. +This command allows you to interact with Bundler's configuration system. + +Bundler loads configuration settings in this order: + +1. Local config (`app/.bundle/config`) +2. Environmental variables (`ENV`) +3. Global config (`~/.bundle/config`) +4. Bundler default config Executing `bundle config` with no parameters will print a list of all bundler configuration for the current bundle, and where that configuration @@ -76,7 +80,7 @@ The options that can be configured are: ## BUILD OPTIONS -You can use `bundle config` to give bundler the flags to pass to the gem +You can use `bundle config` to give Bundler the flags to pass to the gem installer every time bundler tries to install a particular gem. A very common example, the `mysql` gem, requires Snow Leopard users to |