summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2018-10-23 07:36:16 +0000
committerColby Swandale <me@colby.fyi>2018-10-24 21:29:50 +1100
commit8fd4d240c1158fc46092800eaf8473561c8c2ef0 (patch)
tree40f586ef24dfeb97b36f1625c8702fad8728a51c
parent0f81f1acd15de52d1722bf9d109eca77fc52bd36 (diff)
downloadbundler-8fd4d240c1158fc46092800eaf8473561c8c2ef0.tar.gz
Merge #6754
6754: Add docs for configuring bundler folders through ENV vars r=colby-swandale a=colby-swandale ### Overview This PR is just adding documentation for the feature in #6024. Co-authored-by: Colby Swandale <me@colby.fyi> (cherry picked from commit 97a0430885b370f9a5e1b647a0679be51dc3e20d)
-rw-r--r--man/bundle-config.ronn14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/bundle-config.ronn b/man/bundle-config.ronn
index 4d8bda61f7..b5c97ae82d 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
+