sublayerapp / sublayer

A model-agnostic Ruby Generative AI DSL and framework. Provides base classes for building Generators, Actions, Tasks, and Agents that can be used to build AI powered applications in Ruby.
https://docs.sublayer.com
MIT License
109 stars 2 forks source link

Fix zeitwerk loading issue #99

Closed swerner closed 1 month ago

swerner commented 1 month ago

Was wondering why I wasn't seeing any errors on my end. Apparently Zeitwerk has a method called eager_load_all that I'm assuming Rails calls to make sure all dependencies classes are loaded. Added a few ignores and eager load to the entry point for the gem.

This causes the tests to fail if files are either not named or ignored correctly