refinery/refinerycms · error · RuntimeError

Refinery::Dragonfly now handles all dragonfly configuration.

Error message

Refinery::Dragonfly now handles all dragonfly configuration. Consult 'config/initializers/refinery/dragonfly.rb'.

What it means

Error "Refinery::Dragonfly now handles all dragonfly configuration. Consult 'config/initializers/refinery/dragonfly.rb'." thrown in refinery/refinerycms.

Source

Thrown at core/lib/refinery/core/configuration.rb:65

        # prevent / at the start.
        config.backend_route.to_s.gsub(%r{\A/}, '')
      end

      # See https://github.com/refinery/refinerycms/issues/2740
      def backend_path
        [mounted_path.gsub(%r{/\z}, ''), backend_route].join("/")
      end

      def clear_javascripts!
        self.javascripts = []
      end

      def clear_stylesheets!
        self.stylesheets = []
      end

      def dragonfly_custom_backend_class
        raise "Refinery::Dragonfly now handles all dragonfly configuration. Consult 'config/initializers/refinery/dragonfly.rb'."
      end

      def site_name
        ::I18n.t('site_name', :scope => 'refinery.core.config', :default => config.site_name)
      end

      def wymeditor_whitelist_tags=(tags)
        raise "Please ensure refinerycms-wymeditor is being used and use Refinery::Wymeditor.whitelist_tags instead of Refinery::Core.wymeditor_whitelist_tags"
      end
    end

    # wrapper for stylesheet registration
    class Stylesheet
      attr_reader :options, :path
      def initialize(*args)
        @options = args.extract_options!
        @path = args.first if args.first
      end

View on GitHub (pinned to 34438aae76)

When it happens

Trigger: Thrown at core/lib/refinery/core/configuration.rb:65 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of refinery/refinerycms@34438aae76 (2026-08-23). Data as JSON: /api/errors/0a8d40e4df629176. Report an issue: GitHub.