method

new

ruby latest stable - Class: Bundler::CLI::Exec

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

new(options, args)
public

No documentation available.

# File lib/bundler/cli/exec.rb, line 11
    def initialize(options, args)
      @options = options
      @cmd = args.shift
      @args = args

      if Bundler.current_ruby.ruby_2? && !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
    end