Skip to content

Commit

Permalink
Don't warn default behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Aug 3, 2021
1 parent 88b7a3e commit ed845d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bundler/lib/bundler/cli/exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ def initialize(options, args)
@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
Expand Down

0 comments on commit ed845d8

Please sign in to comment.