Skip to content

Commit cc2e45e

Browse files
authored
Prevent rails specific code from being loaded by zeitwerk automatically (#59)
1 parent c41c6ed commit cc2e45e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ruby_llm.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
'api' => 'API',
1818
'deepseek' => 'DeepSeek'
1919
)
20+
loader.ignore("#{__dir__}/ruby_llm/railtie")
21+
loader.ignore("#{__dir__}/ruby_llm/active_record")
2022
loader.setup
2123

2224
# A delightful Ruby interface to modern AI language models.

0 commit comments

Comments
 (0)