module Bundler::Thor::Base::ClassMethods

def handle_no_command_error(command, has_namespace = $thor_runner) #:nodoc:

:nodoc:
def handle_no_command_error(command, has_namespace = $thor_runner) #:nodoc:
  raise UndefinedCommandError, "Could not find command #{command.inspect} in #{namespace.inspect} namespace." if has_namespace
  raise UndefinedCommandError, "Could not find command #{command.inspect}."
end