[前][次][番号順一覧][スレッド一覧]

ruby-changes:67433

From: David <ko1@a...>
Date: Tue, 31 Aug 2021 19:07:13 +0900 (JST)
Subject: [ruby-changes:67433] 8c1b31f7b3 (master): [rubygems/rubygems] Don't warn default behaviour

https://git.ruby-lang.org/ruby.git/commit/?id=8c1b31f7b3

From 8c1b31f7b33304f70948f81c22c14e26e1b9f61f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Tue, 3 Aug 2021 11:33:33 +0200
Subject: [rubygems/rubygems] Don't warn default behaviour

https://github.com/rubygems/rubygems/commit/ed845d861c
---
 lib/bundler/cli/exec.rb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/lib/bundler/cli/exec.rb b/lib/bundler/cli/exec.rb
index 318d57f..42b602a 100644
--- a/lib/bundler/cli/exec.rb
+++ b/lib/bundler/cli/exec.rb
@@ -12,12 +12,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/cli/exec.rb#L12
       @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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]