aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorDavid Rodríguez de Dios <deivid.rodriguez@gmail.com>2014-04-08 20:55:23 +0200
committerDavid Rodríguez de Dios <deivid.rodriguez@gmail.com>2014-04-08 20:55:23 +0200
commit7901ae13a1d8187c1b620b51df7d840818fd759d (patch)
tree23aa668fe744dad54b3f2bbd787726aff00c60ec /activesupport
parent75e0ee861f78d6b76ca8d6f7bf74b9dc1ca03bc3 (diff)
downloadrails-7901ae13a1d8187c1b620b51df7d840818fd759d.tar.gz
rails-7901ae13a1d8187c1b620b51df7d840818fd759d.tar.bz2
rails-7901ae13a1d8187c1b620b51df7d840818fd759d.zip
Keep debugger support only for rubies < 2.0.0
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/kernel.rb2
-rw-r--r--activesupport/test/core_ext/kernel_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/kernel.rb b/activesupport/lib/active_support/core_ext/kernel.rb
index aa19aed43b..293a3b2619 100644
--- a/activesupport/lib/active_support/core_ext/kernel.rb
+++ b/activesupport/lib/active_support/core_ext/kernel.rb
@@ -1,5 +1,5 @@
require 'active_support/core_ext/kernel/agnostics'
require 'active_support/core_ext/kernel/concern'
-require 'active_support/core_ext/kernel/debugger'
+require 'active_support/core_ext/kernel/debugger' if RUBY_VERSION < '2.0.0'
require 'active_support/core_ext/kernel/reporting'
require 'active_support/core_ext/kernel/singleton_class'
diff --git a/activesupport/test/core_ext/kernel_test.rb b/activesupport/test/core_ext/kernel_test.rb
index 18b251173f..d8bf81d02b 100644
--- a/activesupport/test/core_ext/kernel_test.rb
+++ b/activesupport/test/core_ext/kernel_test.rb
@@ -137,4 +137,4 @@ class KernelDebuggerTest < ActiveSupport::TestCase
ensure
Object.send(:remove_const, :Rails)
end
-end
+end if RUBY_VERSION < '2.0.0'