1 # Make the app's "gems" directory a place where gems are loaded from
3 Gem.path.unshift(Merb.root / "gems")
5 # Make the app's "lib" directory a place where ruby files get "require"d from
6 $LOAD_PATH.unshift(Merb.root / "lib")
9 Merb::Config.use do |c|
10 c[:session_secret_key] = 'efeb3cd8e1d8a6deedefd479843705ff21c022a1'
11 c[:session_store] = 'datamapper'
14 ### Merb doesn't come with database support by default. You need
15 ### an ORM plugin. Install one, and uncomment one of the following lines,
16 ### if you need a database.
18 ### Uncomment for DataMapper ORM
21 ### This defines which test framework the generators will use
22 ### rspec is turned on by default
26 ### Add your other dependencies here
27 dependencies "merb_helpers", "merb-mailer", "merbful_authentication"
29 dependency 'merb_paginate'
31 MerbPaginate.activate! :finder => :datamapper # require the custom finder for datamapper
32 MerbPaginate.activate! :view_helpers # require the will_paginate view helper
34 # These are some examples of how you might specify dependencies.
36 # dependencies "RedCloth", "merb_helpers"
38 # dependency "RedCloth", "> 3.0"
40 # dependencies "RedCloth" => "> 3.0", "ruby-aes-cext" => "= 1.0"
42 Merb::BootLoader.after_app_loads do
43 ### Add dependencies here that must load after the application loads:
45 # dependency "magic_admin" # this gem uses the app's model classes