[dry-system] uninitialized constant Dry::System::Plugins

Hi everyone, when i try 'require ‘dry/system/container’ i get this error:

[1] pry(main)> require 'dry/system/container'
NameError: uninitialized constant Dry::System::Plugins
from /usr/share/rvm/gems/ruby-2.7.0/gems/dry-system-0.27.2/lib/dry/system/container.rb:57:in `<class:Container>'
Caused by LoadError: cannot load such file -- dry/system/container
from /usr/share/rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:155:in `require'

ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]

What could be wrong?

dry-system was recently adapted to lazy-load dependencies with zeitwerk.

Plugins were recently added to the zeitwerk configuration

So, just require 'dry/system' and it should work fine

2 Likes