I am setting some constants in an initializer, which are used in
validations in my models.
When I run
RAILS_ENV=test rake gems:install
I get missing constant errors for these, but not when I run
RAILS_ENV=development rake gems:install
It only happens for the gems:install task in test.
Everything else (e.g. rake test) works as expected.
What could be the problem?
Thanks for your help
Tobi