mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
Merge RubyGems-3.3.20 and Bundler-2.3.20
This commit is contained in:
parent
44c926f3a9
commit
522b75f1b6
135 changed files with 1131 additions and 613 deletions
|
@ -88,7 +88,7 @@ Specific fields in the specification can be extracted in YAML format:
|
|||
raise Gem::CommandLineError, "Unsupported version type: '#{v}'"
|
||||
end
|
||||
|
||||
if !req.none? and options[:all]
|
||||
if !req.none? && options[:all]
|
||||
alert_error "Specify --all or -v, not both"
|
||||
terminate_interaction 1
|
||||
end
|
||||
|
@ -102,7 +102,7 @@ Specific fields in the specification can be extracted in YAML format:
|
|||
field = get_one_optional_argument
|
||||
|
||||
raise Gem::CommandLineError, "--ruby and FIELD are mutually exclusive" if
|
||||
field and options[:format] == :ruby
|
||||
field && options[:format] == :ruby
|
||||
|
||||
if local?
|
||||
if File.exist? gem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue