Method: Bundler::CLI::Exec#initialize
- Defined in:
- lib/bundler/cli/exec.rb
#initialize(options, args) ⇒ Exec
Returns a new instance of Exec.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/bundler/cli/exec.rb', line 11 def initialize(, args) @options = @cmd = args.shift @args = args if !Bundler.current_ruby.jruby? @args << { :close_others => !.keep_file_descriptors? } elsif .keep_file_descriptors? Bundler.ui.warn "Ruby version #{RUBY_VERSION} defaults to keeping non-standard file descriptors on Kernel#exec." end end |