On Apr 1, 8:38 am, trans <[email protected]> wrote:
> We can put scripts in config/initializers, however these are loaded
> into the system AFTER ActiveSupport has been loaded. I need a way to
> load a library BEFORE ActiveSupport.
>
> The reason is to load other libraries that may also have core
> extensions, but to let ActiveSupport's take precedence in case of
> conflicts.

Hey, I think I figured it out. Snooping around config/boot.rb I
discovered a (little known?) feature. You can create a config/
preinitializer.rb file and that will be loaded first off. Nice.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to