-
Notifications
You must be signed in to change notification settings - Fork 34
Labels
bugSomething isn't workingSomething isn't working
Description
eager loading fails with the following:
$ rake --trace
rake aborted!
NoMethodError: undefined method `include?' for false:FalseClass
Code/net-imap/lib/net/imap/config/attr_type_coercion.rb:57:in `block (3 levels) in <module:AttrTypeCoercion>'
Code/net-imap/lib/net/imap/config/attr_type_coercion.rb:47:in `block in attr_accessor'
Code/net-imap/lib/net/imap/config.rb:404:in `block in update'
Code/net-imap/lib/net/imap/config.rb:404:in `each'
Code/net-imap/lib/net/imap/config.rb:404:in `update'
Code/net-imap/lib/net/imap/config.rb:386:in `initialize'
Code/net-imap/lib/net/imap/config.rb:452:in `new'
Code/net-imap/lib/net/imap/config.rb:452:in `<class:Config>'
Code/net-imap/lib/net/imap/config.rb:120:in `<class:IMAP>'
Code/net-imap/lib/net/imap/config.rb:8:in `<module:Net>'
Code/net-imap/lib/net/imap/config.rb:7:in `<top (required)>'
Code/net-imap/lib/net/imap.rb:3172:in `require_relative'
Code/net-imap/lib/net/imap.rb:3172:in `<top (required)>'
Code/net-imap/rakelib/rdoc.rake:3:in `require_relative'
Code/net-imap/rakelib/rdoc.rake:3:in `<top (required)>'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/rake_module.rb:29:in `load'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/rake_module.rb:29:in `load_rakefile'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/default_loader.rb:11:in `load'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:818:in `load_imports'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:748:in `raw_load_rakefile'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:126:in `block in load_rakefile'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:214:in `standard_exception_handling'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:125:in `load_rakefile'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:82:in `block in run'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:214:in `standard_exception_handling'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/lib/rake/application.rb:80:in `run'
.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
.rbenv/versions/3.0.2/bin/rake:23:in `load'
.rbenv/versions/3.0.2/bin/rake:23:in `<main>'
i nailed this down to the use of Ractor.make_shareable. it works when i remove that code path (config/attr_type_coercion.rb:31-33).
$ sw_vers
ProductName: macOS
ProductVersion: 12.7.6
$ ruby --version
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin21]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working