# File lib/cliver/dependency.rb, line 106
    def detect!
      installed = {}
      installed_versions.each do |path, version|
        installed[path] = version
        return path if ENV['CLIVER_NO_VERIFY']
        return path if requirement_satisfied_by?(version)
        strict?
      end

      # dependency not met. raise the appropriate error.
      raise_not_found! if installed.empty?
      raise_version_mismatch!(installed)
    end