In v2, files were joined with Rails.root during the before_configuration callback. #468 refactored the list of files to be configurable, but caused the paths to be joined with Rails.root at the time of app initialization (before Rails.root is set).
@mvz can you try this branch out and let me know if it fixes the issue you were running into?
In v2, files were joined with
Rails.root
during thebefore_configuration
callback. #468 refactored the list of files to be configurable, but caused the paths to be joined withRails.root
at the time of app initialization (before Rails.root is set).@mvz can you try this branch out and let me know if it fixes the issue you were running into?
cc https://github.com/bkeepers/dotenv/discussions/476#discussioncomment-8464531