Hi Tim, In your config/init.rb file you will find a block looking like that:
Merb::BootLoader.after_app_loads do # This will get executed after your app's classes have been loaded. end This is where you need to put the code you want to load after the app is loaded :) - Matt On Wed, Jun 24, 2009 at 4:17 PM, Tim Harper <[email protected]> wrote: > I'm working on Spork support for merb, and am needing to prevent merb from > preloading application code when loading the environment. Basically, I want > to be able to load all of merb, it's gems, and it's plugins, and then start > listening for spec-run requests. When a spec run request is receive, spork > will then fork itself, and load the application files as needed. > I'm not a merb developer, so I'm without a clue. Is there a standard > configuration parameter to do this? How do you run a merb server in > development mode, or do you? > > Any guidance will be very appreciated > > Thanks! > > Tim > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
