Sha256: 88578ffb8c894f39eefe3886d5cff932519fe8aef4b6504b9b18de85f910c3bb

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

# make sure we're running inside Merb
if defined?(Merb::Plugins)
  dependency "daemons"
  # Merb gives you a Merb::Plugins.config hash...feel free to put your stuff in your piece of it
  Merb::Plugins.config[:merb_daemon] = {
    :chickens => false
  }
  
  Merb::BootLoader.before_app_loads do
    # require code that must be loaded before the application

  end
  
  Merb::BootLoader.after_app_loads do
    # code that can be required after the application loads
  end
  
  Merb::Plugins.add_rakefiles "merb_daemon/merbtasks"
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jaigouk-merb_daemon-0.0.1.5 lib/merb_daemon.rb