Sha256: 4dfecb571afadb748f524a3ea0a5503c657648c4fb8b6be32b82ff575972ace1

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

# encoding: utf-8

# Go to http://wiki.merbivore.com/pages/init-rb

#  use_orm :none
use_test :rspec
use_template_engine :erb

# Specify a specific version of a dependency
# dependency "RedCloth", "> 3.0"

Merb::BootLoader.before_app_loads do
  # This will get executed after dependencies have been loaded but before your app's classes have loaded.
end

Merb::BootLoader.after_app_loads do
  # This will get executed after your app's classes have been loaded.
end

# Move this to application.rb if you want it to be reloadable in dev mode.
Merb::Router.prepare do
  match('/').to(:controller => "merb_flat", :action =>'index')

  default_routes
end

Merb::Config.use { |c|
  c[:environment]         = 'production',
  c[:framework]           = {},
  c[:log_level]           = :debug,
  c[:log_stream]          = STDOUT,
  # or use file for logging:
  # c[:log_file]          = Merb.root / "log" / "merb.log",
  c[:use_mutex]           = false,
  c[:session_store]       = 'cookie',
  c[:session_id_key]      = '_merb-flat_session_id',
  c[:session_secret_key]  = 'e3f5fa49385a0e117fd1fca8a45d21eec02055e7',
  c[:exception_details]   = true,
  c[:reload_classes]      = true,
  c[:reload_templates]    = true,
  c[:reload_time]         = 0.5
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rango-0.2.3 benchmarks/stubs/merb-flat/config/init.rb
rango-0.2.1 benchmarks/stubs/merb-flat/config/init.rb
rango-0.2.1.pre benchmarks/stubs/merb-flat/config/init.rb
rango-0.0.6 benchmarks/stubs/merb-flat/config/init.rb
rango-0.1.pre benchmarks/stubs/merb-flat/config/init.rb
rango-0.0.4 benchmarks/stubs/merb-flat/config/init.rb