diff options
author | Vít Ondruch <[email protected]> | 2023-12-12 14:38:45 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-12-13 12:16:55 +0900 |
commit | 402fd96ddc401cf35bced8d394c44df98d6fc466 (patch) | |
tree | ed4d5d5b85874b05fb62c4bfd7a48809dc09a178 /prelude.rb | |
parent | 844759ccdbf9400796259888d613597585ad697a (diff) |
[rubygems/rubygems] Make sure `--no-user-install` is respected for auto user installation
The `options[:user_install]` might have three states:
* `true`: `--user-install`
* `false`: `--no-user-install` and
* `nil`: option was not specified
However, this had not been respected previously and the `false` and `nil`
were treated the same. This could lead to auto user installation despite
`--no-user-install` being specified on the command line.
Fixes https://github.com/rubygems/rubygems/pull/7237
https://github.com/rubygems/rubygems/commit/9281545474
Diffstat (limited to 'prelude.rb')
0 files changed, 0 insertions, 0 deletions