You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was not able to reproduce the case with binding.irb because for it just did not start:
/__tebako_memfs__/lib/ruby/3.3.0/irb/locale.rb:93:in `load': No such file to load -- irb/error.rb (LoadError)
from /__tebako_memfs__/lib/ruby/3.3.0/irb/init.rb:246:in `init_error'
from /__tebako_memfs__/lib/ruby/3.3.0/irb/init.rb:52:in `setup'
from /__tebako_memfs__/lib/ruby/3.3.0/irb.rb:1580:in `irb'
from <internal:prelude>:5:in `irb'
from /__tebako_memfs__/lib/ruby/gems/3.3.0/gems/tebako-test-0.0.2/lib/tebako-test.rb:28:in `run'
from /__tebako_memfs__/lib/ruby/gems/3.3.0/gems/tebako-test-0.0.2/exe/tebako-test-run.rb:8:in `<top (required)>'
from /__tebako_memfs__/bin/tebako-test-run.rb:25:in `load'
from /__tebako_memfs__/bin/tebako-test-run.rb:25:in `<main>'
Not sure if it's related, but sharing here if it's germane.
I'm using a gem that uses Zeitwerk to load code. When I create instances of classes within the Async block that haven't been loaded, the program halts.
When I put Zeitwerk::Loader.eager_load_all before the Async block, it preloads the constant names and doesn't block. I'm going to keep looking into this and open a separate issue if I can figure out the cause. As it stands, I'm still not sure exactly if the issue is related to Async, Zeitwerk, or Tebako, but it's definitely some combination of the three.
Originally posted by @maxirmx in #237
The text was updated successfully, but these errors were encountered: