class Bundler::CLI::Exec

def kernel_exec(*args)

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