flippercloud/flipper · error · RuntimeError

#{gate} is not supported by this adapter yet

Error message

#{gate} is not supported by this adapter yet

What it means

Error "#{gate} is not supported by this adapter yet" thrown in flippercloud/flipper.

Source

Thrown at lib/flipper/adapters/memory.rb:80

      end

      # Public
      def enable(feature, gate, thing)
        synchronize do
          @source[feature.key] ||= default_config

          case gate.data_type
          when :boolean
            @source[feature.key] = default_config
            @source[feature.key][gate.key] = thing.value.to_s
          when :integer
            @source[feature.key][gate.key] = thing.value.to_s
          when :set
            @source[feature.key][gate.key] << thing.value.to_s
          when :json
            @source[feature.key][gate.key] = thing.value
          else
            raise "#{gate} is not supported by this adapter yet"
          end

          true
        end
      end

      # Public
      def disable(feature, gate, thing)
        synchronize do
          @source[feature.key] ||= default_config

          case gate.data_type
          when :boolean
            @source[feature.key] = default_config
          when :integer
            @source[feature.key][gate.key] = thing.value.to_s
          when :set
            @source[feature.key][gate.key].delete thing.value.to_s

View on GitHub (pinned to 1f86de3ec9)

Solutions

  1. Avoid that gate with the Memory adapter, or switch to an adapter that supports it
  2. Upgrade flipper; newer versions may implement the gate for the Memory adapter
  3. Use the boolean/actor/percentage gates, which the Memory adapter fully supports

When it happens

Trigger: Thrown at lib/flipper/adapters/memory.rb:80 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of flippercloud/flipper@1f86de3ec9 (2026-08-23). Data as JSON: /api/errors/6da407d1b26e75c2. Report an issue: GitHub.