mamhoff
01/16/2024, 3:49 PMsolidus_reviews, but it's impossible to get a green build...Chris Todorov
01/16/2024, 5:31 PMsolidus_taxjar green against main š @Jared Norman suggested moving to the DSL syntax that uses .deface files instead, but I haven't given that a try yet.Alistair Norman
01/16/2024, 5:38 PMRails.autoloaders.main.ignore(
File.join(File.dirname(__FILE__), '../path/to/deface/*.rb')
)
config.to_prepare do
Dir.glob(File.join(File.dirname(__FILE__), '../path/to/deface/*.rb')) do |c|
Rails.configuration.cache_classes ? require(c) : load(c)
end
endJared Norman
app/overrides.Chris Todorov
01/16/2024, 5:45 PM.deface files is that Zeitwerk just ignores themmamhoff
01/17/2024, 1:03 PMTom Wilson
01/18/2024, 6:38 PMChris Todorov
01/18/2024, 6:39 PMTom Wilson
01/18/2024, 6:56 PMmamhoff
01/22/2024, 3:57 PM.deface DSL idea does work in Solidus Reviews: https://github.com/solidusio-contrib/solidus_reviews/pull/117mamhoff
01/22/2024, 3:58 PMsqlite builds fail for another reasonChris Todorov
01/22/2024, 5:44 PMsolidus_taxjar and that resolved the issue for us as well https://github.com/SuperGoodSoft/solidus_taxjar/pull/254/commits/dd664da8a17ed4ef8dbaa7aadbd167aa4e2c9cfbmamhoff
01/22/2024, 5:46 PMChris Todorov
01/22/2024, 5:51 PM