summaryrefslogtreecommitdiff
path: root/man/bundle-config.ronn
diff options
context:
space:
mode:
authorHarald Wartig <hwartig@gmail.com>2014-08-03 21:48:10 +0200
committerHarald Wartig <hwartig@gmail.com>2014-08-03 21:48:10 +0200
commitf8935b465ea39020356e79d7e934c86d48dac005 (patch)
treeee19b8edeec700a886f7ace13e82a08805f4754e /man/bundle-config.ronn
parent8559404e087034b444c331b3b21a24667ae75cbe (diff)
downloadbundler-f8935b465ea39020356e79d7e934c86d48dac005.tar.gz
Document config for HTTPs source credentials
Diffstat (limited to 'man/bundle-config.ronn')
-rw-r--r--man/bundle-config.ronn12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/bundle-config.ronn b/man/bundle-config.ronn
index 9f5ac2c266..01b0d2e633 100644
--- a/man/bundle-config.ronn
+++ b/man/bundle-config.ronn
@@ -153,3 +153,15 @@ mirror to fetch gems.
bundle config mirror.http://rubygems.org http://rubygems-mirror.org
+## CREDENTIALS FOR PRIVATE REPOSITORIES
+
+Bundler allows you to configure credentials for private repositories on a per
+source basis.
+
+ bundle config REMOTE_URI USERNAME:PASSWORD
+
+For example to use your company geminabox server you can call:
+
+ bundle config https://gems.example.com/ username:password
+
+This way you can avoid putting secrets into your Gemfile.