1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Don't warn default behaviour

https://github.com/rubygems/rubygems/commit/ed845d861c
This commit is contained in:
David Rodríguez 2021-08-03 11:33:33 +02:00 committed by Hiroshi SHIBATA
parent 58635d4ff7
commit 8c1b31f7b3
Notes: git 2021-08-31 19:07:18 +09:00

View file

@ -12,12 +12,7 @@ module Bundler
@options = options
@cmd = args.shift
@args = args
if !Bundler.current_ruby.jruby?
@args << { :close_others => !options.keep_file_descriptors? }
elsif options.keep_file_descriptors?
Bundler.ui.warn "Ruby version #{RUBY_VERSION} defaults to keeping non-standard file descriptors on Kernel#exec."
end
@args << { :close_others => !options.keep_file_descriptors? } unless Bundler.current_ruby.jruby?
end
def run