From 19f4df8e1aab843176f2d50b8355d8e36446354b Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Mon, 22 Oct 2018 18:58:09 +1100 Subject: [PATCH] add docs for configuring bundler folders through ENV vars --- man/bundle-config.ronn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/man/bundle-config.ronn b/man/bundle-config.ronn index 4d8bda61f7d..b5c97ae82d9 100644 --- a/man/bundle-config.ronn +++ b/man/bundle-config.ronn @@ -381,3 +381,17 @@ This is especially useful for private repositories on hosts such as Github, where you can use personal OAuth tokens: export BUNDLE_GITHUB__COM=abcd0123generatedtoken:x-oauth-basic + + +## CONFIGURE BUNDLER DIRECTORIES + +Bundler's home, config, cache and plugin directories are able to be configured +through environment variables. The default location for Bundler's home directory is +`~/.bundle`, which all directories inherit from by default. The following +outlines the available environment variables and their default values + + BUNDLE_USER_HOME : $HOME/.bundle + BUNDLE_USER_CACHE : $BUNDLE_USER_HOME/cache + BUNDLE_USER_CONFIG : $BUNDLE_USER_HOME/config + BUNDLE_USER_PLUGIN : $BUNDLE_USER_HOME/plugin +