aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/rack.rb')
-rw-r--r--railties/lib/rails/rack.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/rack.rb b/railties/lib/rails/rack.rb
index d1ee96f7fd..886f0e52e1 100644
--- a/railties/lib/rails/rack.rb
+++ b/railties/lib/rails/rack.rb
@@ -1,6 +1,6 @@
module Rails
module Rack
- autoload :Debugger, "rails/rack/debugger"
+ autoload :Debugger, "rails/rack/debugger" if RUBY_VERSION < '2.0.0'
autoload :Logger, "rails/rack/logger"
autoload :LogTailer, "rails/rack/log_tailer"
end