diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-08-03 11:33:33 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
commit | 8c1b31f7b33304f70948f81c22c14e26e1b9f61f (patch) | |
tree | 0fc24ae03c78fd55a7fb9043c6f2b71c6aa0f077 /lib | |
parent | 58635d4ff75edfb98358f5c80ed9e798758358d0 (diff) | |
download | ruby-8c1b31f7b33304f70948f81c22c14e26e1b9f61f.tar.gz |
[rubygems/rubygems] Don't warn default behaviour
https://github.com/rubygems/rubygems/commit/ed845d861c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/cli/exec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/bundler/cli/exec.rb b/lib/bundler/cli/exec.rb index 318d57fb06..42b602a055 100644 --- a/lib/bundler/cli/exec.rb +++ b/lib/bundler/cli/exec.rb @@ -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 |