ytti/oxidized · error · OxidizedError

SQL adapter gem not installed: #{e.message}

Error message

SQL adapter gem not installed: #{e.message}

What it means

Error "SQL adapter gem not installed: #{e.message}" thrown in ytti/oxidized.

Source

Thrown at lib/oxidized/source/sql.rb:84

      def connect
        options = {
          adapter:  @cfg.adapter,
          host:     @cfg.host?,
          port:     @cfg.port?,
          user:     @cfg.user?,
          password: @cfg.password?,
          database: @cfg.database,
          ssl_mode: @cfg.ssl_mode?
        }
        if @cfg.with_ssl?
          options.merge!(sslca:   @cfg.ssl_ca?,
                         sslcert: @cfg.ssl_cert?,
                         sslkey:  @cfg.ssl_key?)
        end
        Sequel.connect(options)
      rescue Sequel::AdapterNotFound => e
        raise OxidizedError, "SQL adapter gem not installed: " + e.message
      end
    end
  end
end

View on GitHub (pinned to 687ed4262d)

When it happens

Trigger: Thrown at lib/oxidized/source/sql.rb:84 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ytti/oxidized@687ed4262d (2026-08-23). Data as JSON: /api/errors/b2edc836800dd0ef. Report an issue: GitHub.