diff options
author | bronzdoc <lsagastume1990@gmail.com> | 2019-05-28 23:07:01 -0600 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-31 07:47:00 +0800 |
commit | 7990d8dc50007b04118cb36c9f200efcddb0295f (patch) | |
tree | c89fab82a032a2b1cd023ad4892b4545dba03cb4 /lib/rubygems/config_file.rb | |
parent | 6f60ead7565e02901db63f005008860b65b4a15e (diff) | |
download | ruby-7990d8dc50007b04118cb36c9f200efcddb0295f.tar.gz |
[rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if available
https://github.com/rubygems/rubygems/commit/471239f1fa
Diffstat (limited to 'lib/rubygems/config_file.rb')
-rw-r--r-- | lib/rubygems/config_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb index 003d98f53d..d1ac5db6dc 100644 --- a/lib/rubygems/config_file.rb +++ b/lib/rubygems/config_file.rb @@ -473,7 +473,7 @@ if you believe they were disclosed to a third party. private def set_config_file_name(args) - @config_file_name = nil + @config_file_name = ENV["GEMRC"] || nil need_config_file_name = false args.each do |arg| |