aboutsummaryrefslogtreecommitdiffstats
path: root/railties/dispatches
diff options
context:
space:
mode:
Diffstat (limited to 'railties/dispatches')
-rwxr-xr-xrailties/dispatches/dispatch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/dispatches/dispatch.rb b/railties/dispatches/dispatch.rb
index 1f0914f8d0..9b5ae760ff 100755
--- a/railties/dispatches/dispatch.rb
+++ b/railties/dispatches/dispatch.rb
@@ -6,5 +6,5 @@ require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
require "dispatcher"
-ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) }
+ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
Dispatcher.dispatch \ No newline at end of file