Sha256: e92a7f6c424ab4c0ad354939333471ed761941f9fa3662449c89ad2c54da51ec

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 Bytes

Contents

# make sure we're running inside Merb
if defined?(Merb::Plugins)

  # Merb gives you a Merb::Plugins.config hash...feel free to put your stuff in your piece of it
  Merb::Plugins.config[:merb_seed] = {
    :seed_path => "schema/data"
  }
  
  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_seed/merbtasks"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merb_seed-0.1.0 lib/merb_seed.rb
merb_seed-0.1.1 lib/merb_seed.rb