0
+# | \/ |___ _ _| |__| \/ |__ _ _ _| |_
0
+# | |\/| / -_) '_| '_ \ |\/| / _` | '_| _|
0
+# |_| |_\___|_| |_.__/_| |_\__,_|_| \__|
0
+# Copyright (C) 2008 Alex Coles
0
+# This program is free software: you can redistribute it and/or modify
0
+# it under the terms of the GNU General Public License as published by
0
+# the Free Software Foundation, either version 2 of the License, or
0
+# (at your option) any later version.
0
+# This program is distributed in the hope that it will be useful,
0
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
0
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0
+# GNU General Public License for more details.
0
+# You should have received a copy of the GNU General Public License
0
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
0
# Make the app's "gems" directory a place where gems are loaded from
0
Gem.path.unshift(Merb.root / "gems")
0
-# Make the app's "lib" directory a place where ruby files get "require"d from
0
-$LOAD_PATH.unshift(Merb.root / "lib")
0
-Merb::Config.use do |c|
0
- c[:session_secret_key] = 'efeb3cd8e1d8a6deedefd479843705ff21c022a1'
0
- #c[:session_store] = 'datamapper' -- TEMPORARILY DISABLE
0
- c[:session_store] = 'cookie'
0
+# If you want modules and classes from libraries organized like
0
+# merbapp/lib/magicwand/lib/magicwand.rb to autoload,
0
+# Merb.push_path(:lib, Merb.root / "lib") # uses **/*.rb as path glob.
0
-MEGABYTE = 1024.0 * 1024.0
0
-MAX_SIZE = 10 * MEGABYTE
0
-### Specify the ORM: DataMapper
0
-### Specify the Test Framework: RSpec
0
-### Specify Other Dependencies
0
-# These are some examples of how you might specify dependencies.
0
-# dependencies "RedCloth", "merb_helpers"
0
-# dependency "RedCloth", "> 3.0"
0
-# dependencies "RedCloth" => "> 3.0", "ruby-aes-cext" => "= 1.0"
0
dependency "merb-assets"
0
dependency "merb-mailer"
0
@@ -46,3 +46,33 @@ Merb::BootLoader.after_app_loads do
0
# dependency "magic_admin" # this gem uses the app's model classes
0
+# ==== Object Relation Mapping (ORM) Framework
0
+# ==== Testing Framework
0
+# ==== Application Globals
0
+MEGABYTE = 1024.0 * 1024.0
0
+MAX_SIZE = 10 * MEGABYTE
0
+# ==== Application Configuration
0
+Merb::Config.use do |c|
0
+ c[:session_secret_key] = 'ea30e9cd9614d32ab7823fb081104ecca546beee'
0
+ c[:session_store] = 'cookie'
0
+ # c[:session_store] = 'datamapper' ## FIXME: temporarily disabled
0
+ # c[:use_mutex] = false ## FIXME: disable Mutex
0
+# ==== Inflector Customization
0
+# Language::English::Inflector.word "Store", "A Chain"
Comments
No one has commented yet.