photomix/config/environment.rb
2010-09-17 17:57:33 +02:00

9 lines
285 B
Ruby

# Load the rails application
require File.expand_path('../application', __FILE__)
# Load app vars from local file
balder_env = File.join(Rails.root, 'config', 'balder.rb')
load(balder_env) if File.exists?(balder_env)
# Initialize the rails application
Balder::Application.initialize!