|
Revision 570, 0.6 kB
(checked in by duane.johns..@gmail.com, 1 year ago)
|
Some fixes and updates to Marble
|
| Line | |
|---|
| 1 |
# Add your own ruby code here for app specific stuff. This file gets loaded |
|---|
| 2 |
# after the framework is loaded. |
|---|
| 3 |
puts "Started merb_init.rb ..." |
|---|
| 4 |
|
|---|
| 5 |
# Your app's dependencies, including your database layer (if any) are defined |
|---|
| 6 |
# in config/dependencies.rb |
|---|
| 7 |
require File.join(MERB_ROOT, 'config', 'dependencies') |
|---|
| 8 |
|
|---|
| 9 |
# Here's where your controllers, helpers, and models, etc. get loaded. If you |
|---|
| 10 |
# need to change the order of things, just move the call to 'load_application' |
|---|
| 11 |
# around this file. |
|---|
| 12 |
puts "Loading Application..." |
|---|
| 13 |
Merb::Server.load_application |
|---|
| 14 |
|
|---|
| 15 |
# Load environment-specific configuration |
|---|
| 16 |
require File.join(MERB_ROOT, 'config', 'environments', MERB_ENV) |
|---|