2010-09-17 17:57:33 +02:00
|
|
|
# Load the rails application
|
|
|
|
require File.expand_path('../application', __FILE__)
|
2009-05-22 14:13:46 +02:00
|
|
|
|
2010-09-17 17:57:33 +02:00
|
|
|
# Load app vars from local file
|
|
|
|
balder_env = File.join(Rails.root, 'config', 'balder.rb')
|
2010-04-14 05:56:13 +02:00
|
|
|
load(balder_env) if File.exists?(balder_env)
|
|
|
|
|
2010-09-17 17:57:33 +02:00
|
|
|
# Initialize the rails application
|
|
|
|
Balder::Application.initialize!
|