photomix/config/environment.rb

9 lines
285 B
Ruby
Raw Permalink Normal View History

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')
load(balder_env) if File.exists?(balder_env)
2010-09-17 17:57:33 +02:00
# Initialize the rails application
Balder::Application.initialize!