method

handle_no_command_error

v2_6_3 - Show latest stable - Class: Bundler::CLI
handle_no_command_error(command, has_namespace = $thor_runner)
public

No documentation available.

# File lib/bundler/cli.rb, line 129
    def self.handle_no_command_error(command, has_namespace = $thor_runner)
      if Bundler.feature_flag.plugins? && Bundler::Plugin.command?(command)
        return Bundler::Plugin.exec_command(command, ARGV[1..-1])
      end

      return super unless command_path = Bundler.which("bundler-#{command}")

      Kernel.exec(command_path, *ARGV[1..-1])
    end