Sha256: d092ce8397b5e574cb8dd1d76b97dc579e42e8e7e985856cc225a1b596ed9971

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 KB

Contents

# This is the main file of your application. It loads various configuration
# files, your themes and starts your application.
require 'zen'

# Depending on your database adapter you might need to install extra Gems.
# Ramaze makes it easy to automatically install and require these using
# Ramaze.setup(). For example, if you want to automatically load the mysql2 gem
# you'd do this as following:
#
#     Ramaze.setup(:verbose => false) do
#       gem 'mysql2'
#     end
#

# Load all the configuration files.
require __DIR__('config/config')
require __DIR__('config/middlewares')
require __DIR__('config/database')

# Load the default theme. You're free to change this or remove it.
require __DIR__('theme/theme')

# Starts Zen. While you can still load custom files after calling this method it
# is not recommended as it may lead to unexpected behavior. Zen itself tries not
# to cache anything in memory unless required, however it could be that a
# third-party extension does do this. Because of this it is recommended to just
# put your require() calls before calling this method.
Zen.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zen-0.4.3 proto/app/app.rb
zen-0.4.2 proto/app/app.rb
zen-0.4.1 proto/app/app.rb
zen-0.4 proto/app/app.rb
zen-0.3 proto/app/app.rb
zen-0.3b1 proto/app/app.rb
zen-0.3b proto/app/app.rb