method

kernel_exec

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.

kernel_exec(*args)
private

No documentation available.

# File lib/bundler/cli/exec.rb, line 50
    def kernel_exec(*args)
      ui = Bundler.ui
      Bundler.ui = nil
      Kernel.exec(*args)
    rescue Errno::EACCES, Errno::ENOEXEC
      Bundler.ui = ui
      Bundler.ui.error "bundler: not executable: #{cmd}"
      exit 126
    rescue Errno::ENOENT
      Bundler.ui = ui
      Bundler.ui.error "bundler: command not found: #{cmd}"
      Bundler.ui.warn "Install missing gem executables with `bundle install`"
      exit 127
    end