# File railties/lib/initializer.rb, line 215 def load_observers if configuration.frameworks.include?(:active_record) ActiveRecord::Base.instantiate_observers end end
observers and custom initializers aren’t loaded if any gems are missing -
current behaviour isn’t great - as it’s not intuitive - and you get no warning.
here’s a lighthouse ticket i created a while ago about this.