Execute something once lib/ has been loaded?

Hi,

I need to execute a function at startup that registers my LiquidDrops (the templating engine type). The problem I have now is that my startup code is contained in an init file in lib/ that’s required by environment.rb , it seems this init file is being called before the rest of lib/ has been loaded. I know this, as calling constants on one of my modules from inside the init file returns nothing, yet doing the same from a controller action returns the class names as expected.

So is there a callback I can use or a way to force the other modules to load before executing my init file?

Cheers.