method

handle_no_command_error

ruby latest stable - Class: Bundler::CLI

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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