lib/dry/rails/railtie.rb in dry-rails-0.2.1 vs lib/dry/rails/railtie.rb in dry-rails-0.3.0
- old
+ new
@@ -30,10 +30,11 @@
container = Dry::Rails.create_container(
root: root_path,
name: name,
default_namespace: name.to_s,
inflector: default_inflector,
- system_dir: root_path.join("config/system")
+ system_dir: root_path.join("config/system"),
+ bootable_dirs: [root_path.join("config/system/boot")]
)
# Enable :env plugin by default because it is a very common requirement
container.use :env, inferrer: -> { ::Rails.env }