Skip to content

Instantly share code, notes, and snippets.

@wycats
Created October 20, 2008 21:48
Show Gist options
  • Save wycats/18181 to your computer and use it in GitHub Desktop.
Save wycats/18181 to your computer and use it in GitHub Desktop.
Merb::Config.use { |c|
c[:session_store] = :none
c[:log_level] = :error # or error, warn, info or fatal
c[:log_stream] = STDOUT
c[:use_mutex] = false
c[:reload_classes] = false
c[:reload_templates] = false
}
Merb::Router.prepare do
match('/').defer_to do |request, params|
[200, {"Content-Type" => "text/html"}, "Hello world"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment