diff options
author | Avdi Grimm <avdi@users.noreply.github.com> | 2024-01-08 14:20:35 -0600 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-01-08 21:45:25 +0000 |
commit | 544c87d00980f4b1332c14fbc193d2c20733662a (patch) | |
tree | 54841a223a7bdf36a826466ad6032757c2476020 /lib/bundler/man | |
parent | 41dd15944f8843539a070a6aa1b01a71421ce4d0 (diff) |
[rubygems/rubygems] Refer to underscores as underscores
https://github.com/rubygems/rubygems/commit/aa3ae5d245
Diffstat (limited to 'lib/bundler/man')
-rw-r--r-- | lib/bundler/man/bundle-config.1 | 4 | ||||
-rw-r--r-- | lib/bundler/man/bundle-config.1.ronn | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/bundler/man/bundle-config.1 b/lib/bundler/man/bundle-config.1 index 8090e03f7d..c5a976da46 100644 --- a/lib/bundler/man/bundle-config.1 +++ b/lib/bundler/man/bundle-config.1 @@ -302,9 +302,9 @@ Note that any configured credentials will be redacted by informative commands su .P Also note that to guarantee a sane mapping between valid environment variable names and valid host names, bundler makes the following transformations: .IP "\(bu" 4 -Any \fB\-\fR characters in a host name are mapped to a triple dash (\fB___\fR) in the corresponding environment variable\. +Any \fB\-\fR characters in a host name are mapped to a triple underscore (\fB___\fR) in the corresponding environment variable\. .IP "\(bu" 4 -Any \fB\.\fR characters in a host name are mapped to a double dash (\fB__\fR) in the corresponding environment variable\. +Any \fB\.\fR characters in a host name are mapped to a double underscore (\fB__\fR) in the corresponding environment variable\. .IP "" 0 .P This means that if you have a gem server named \fBmy\.gem\-host\.com\fR, you'll need to use the \fBBUNDLE_MY__GEM___HOST__COM\fR variable to configure credentials for it through ENV\. diff --git a/lib/bundler/man/bundle-config.1.ronn b/lib/bundler/man/bundle-config.1.ronn index b935329b4e..587d31dbad 100644 --- a/lib/bundler/man/bundle-config.1.ronn +++ b/lib/bundler/man/bundle-config.1.ronn @@ -388,10 +388,10 @@ copy-pasting bundler output. Also note that to guarantee a sane mapping between valid environment variable names and valid host names, bundler makes the following transformations: -* Any `-` characters in a host name are mapped to a triple dash (`___`) in the +* Any `-` characters in a host name are mapped to a triple underscore (`___`) in the corresponding environment variable. -* Any `.` characters in a host name are mapped to a double dash (`__`) in the +* Any `.` characters in a host name are mapped to a double underscore (`__`) in the corresponding environment variable. This means that if you have a gem server named `my.gem-host.com`, you'll need to |