palkan / anyway_config

Configuration library for Ruby gems and applications
MIT License
778 stars 52 forks source link

Detect postponed Rails loading #132

Closed palkan closed 1 year ago

palkan commented 1 year ago

What is the purpose of this pull request?

Make it possible to load Rails extensions even if anyway_config was loaded before Rails.

A use case in mind is using Yabeda (which uses Anyway Config) and its Puma plugin that is loaded from config/puma.rb.

What changes did you make? (overview)

Checklist

bibendi commented 1 year ago

Uff, black magic! Awesome!