From 10f94bf2c25efedbd0cbe0c365cf19abdc930df9 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 19 Dec 2024 14:14:51 +0100 Subject: [PATCH] Fix Zeitwerk failing to class version class with eager loading https://github.com/basecamp/hotwire-spark/issues/14#issuecomment-2553874866 --- lib/hotwire-spark.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hotwire-spark.rb b/lib/hotwire-spark.rb index 6031c72f..84405992 100644 --- a/lib/hotwire-spark.rb +++ b/lib/hotwire-spark.rb @@ -4,6 +4,7 @@ require "zeitwerk" loader = Zeitwerk::Loader.for_gem(warn_on_extra_files: false) loader.ignore("#{__dir__}/hotwire-spark.rb") +loader.ignore("#{__dir__}/hotwire/spark/version.rb") loader.setup module Hotwire::Spark