Sha256: 2d3f81ee1fc71edbc62557f27f9cb174b00a3c565e0301ad3d0dbfe791f748c0
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
require File.join(File.dirname(__FILE__), 'dependencies') Merb::Config.use do |c| c[:name] = 'sm-server' c[:exception_details] = true # Append random numbers to assets in dev mode, but not build mode c[:reload_templates] = (Merb::Config[:environment] != 'build') c[:reload_classes] = true c[:reload_time] = 0.5 c[:ignore_tampered_cookies] = true c[:log_auto_flush ] = true c[:log_level] = :error c[:log_stream] = STDOUT c[:log_file] = nil end Merb.push_path(:controller, File.dirname(__FILE__)) Merb.push_path(:router, File.dirname(__FILE__), "router.rb") Merb.push_path(:public, Merb.root / "public", nil) Merb.push_path(:stylesheet, Merb.dir_for(:public) / "stylesheets", nil) Merb.push_path(:javascript, Merb.dir_for(:public) / "javascripts", nil) Merb.push_path(:image, Merb.dir_for(:public) / "images", nil) Merb.push_path(:view, Merb.root / "pages") Merb.push_path(:helper, Merb.root / "helpers")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdreyno-staticmatic-2.11.0 | lib/merb/init.rb |
tdreyno-staticmatic-2.11.1 | lib/staticmatic/merb/init.rb |