summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <me@colby.fyi>2018-10-22 18:58:09 +1100
committerColby Swandale <me@colby.fyi>2018-10-22 21:35:27 +1100
commit943834e1a8259e61395e49e4e2731e47ac823911 (patch)
tree779d9c1b802125779337486924537657bb7e3786
parent18369b8a0999f11515e28603676f99ca376d7d93 (diff)
downloadbundler-colby/bundle-env-docs.tar.gz
add docs for configuring bundler folders through ENV varscolby/bundle-env-docs
-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..1e8cc71762 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 BUNDLE 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
+