Commit 3a39c818 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Load the devise initializer before metrics

Metrics tries to initialize the `EventsFinder` to instrumnt it. The `EventsFinder` tries to load the `Event` model, which in turn loads the `User` model.

Loading the `User` model requires Devise to be initialized. So to avoid problems around this, we load devise before loading metrics.
parent aa7c927e
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment