These are chat archives for dry-rb/chat

29th
Mar 2018
Tim Riley
@timriley
Mar 29 2018 03:18
@cutalion don’t load the boot file in tests
@cutalion just require the container directly: require “my_app/container”, this will leave it un-finalized and allow you to add the stubs support
Steve Clarke
@srcnix
Mar 29 2018 14:32
Is there anyway in Dry System Container to load all files in a specific directory as bootable? Or is it a simple case of that's how much app works so down to me? Just wondering what conventions are already built in.
Piotr Solnica
@solnic
Mar 29 2018 16:13
@srcnix bootable components are registered via Container.boot method
by convention, we store them under {system_dir}/boot/*.rb
Steve Clarke
@srcnix
Mar 29 2018 23:53
Thanks @solnic