From dd28392a84f2bfd5508eedcbbfa6bbf07f1b127d Mon Sep 17 00:00:00 2001 From: Hermann Mayer Date: Mon, 13 Jan 2025 09:42:21 +0100 Subject: [PATCH] Do not eager load the configuration. Signed-off-by: Hermann Mayer --- CHANGELOG.md | 2 +- lib/rimless.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbbe1dd..0ead7e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### next -* TODO: Replace this bullet point with an actual description of a change. +* Do not eager load the configuration (#47) ### 1.10.0 (11 January 2025) diff --git a/lib/rimless.rb b/lib/rimless.rb index 6d83205..ba8bfb6 100644 --- a/lib/rimless.rb +++ b/lib/rimless.rb @@ -32,6 +32,7 @@ module Rimless loader.ignore(root_path.join('tasks*')) loader.ignore(root_path.join('railtie.rb')) loader.ignore(root_path.join('rspec*')) + loader.do_not_eager_load(root_path.join('configuration.rb')) # Finish the auto loader configuration loader.setup