Load Engines plugin if available (closes #180).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1281 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-03-21 19:59:43 +00:00
parent 35a14cbfdc
commit 09bf503fd2
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,13 @@
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
# Load Engine plugin if available
begin
require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')
rescue LoadError
# Not available
end
Rails::Initializer.run do |config|
# Settings in config/environments/* take precedence those specified here