class Gem::Commands::ExecCommand

def check_executable

def check_executable
  if options[:executable].nil?
    raise Gem::CommandLineError,
      "Please specify an executable to run (e.g. #{program_name} COMMAND)"
  end
end