spree/spree — comment on commit a4a57db941eeb6329ac9a5de64f2175e33a56f95
File:  line 0
By cmar:

Spree::Config is defined in the engine for Spree::Core. Is your initializer loading before that is loaded?

https://github.com/spree/spree/blob/master/core/lib/spree/core/engine.rb#L43

--
Chris Mar

On Monday, December 5, 2011 at 11:36 AM, Adam Jahn wrote:

> I'm not having any luck setting preferences via and initializer. Spree::Config gives uninitialized constant, I guess because Spree::Config isn't available by the time my initializers run. Is there a new way of setting prefs via app initializer?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/spree/spree/commit/a4a57db941eeb6329ac9a5de64f2175e33a56f95#commitcomment-769523