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. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---