1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# Add your own ruby code here for app specific stuff. This file gets loaded
# after the framework is loaded.
puts "Started merb_init.rb ..."
puts "Loading dependencies..."
Gem.path.unshift(MERB_ROOT / "deps")
# Uncomment for Sequel ORM
# require "sequel"
# require "merb_sequel"
# Uncomment for ActiveRecord ORM
# require "active_record"
# require "merb_active_record"
# Here's where your controllers, helpers, and models, etc. get loaded. If you
# need to change the order of things, just move the call to 'load_application'
# around this file.
puts "Loading Application..."
Merb::Server.load_application
# Load environment-specific configuration
|
Pastie
