зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Refer to underscores as underscores
https://github.com/rubygems/rubygems/commit/aa3ae5d245
This commit is contained in:
Родитель
41dd15944f
Коммит
544c87d009
|
@ -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\.
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче