diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-05-22 18:15:43 +0200 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-05-22 18:15:43 +0200 |
commit | d1d9a6c26113cf4a0decb504c46e4e7fe4351ce6 (patch) | |
tree | 237e2fbb5247670d65874126292d48040f0d2013 /actionpack/test/new_base | |
parent | 1fa7e3322dc8ceac0da3b2b516ca338ee36c89a9 (diff) | |
download | rails-d1d9a6c26113cf4a0decb504c46e4e7fe4351ce6.tar.gz rails-d1d9a6c26113cf4a0decb504c46e4e7fe4351ce6.tar.bz2 rails-d1d9a6c26113cf4a0decb504c46e4e7fe4351ce6.zip |
Require ruby-debug from new_base/abstract_unit
Diffstat (limited to 'actionpack/test/new_base')
-rw-r--r-- | actionpack/test/new_base/abstract_unit.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/test/new_base/abstract_unit.rb b/actionpack/test/new_base/abstract_unit.rb index c045247702..1d4bcbd91d 100644 --- a/actionpack/test/new_base/abstract_unit.rb +++ b/actionpack/test/new_base/abstract_unit.rb @@ -18,6 +18,13 @@ require 'active_support/dependencies' $tags[:new_base] = true +begin + require 'ruby-debug' + Debugger.settings[:autoeval] = true + Debugger.start +rescue LoadError + # Debugging disabled. `gem install ruby-debug` to enable. +end ActiveSupport::Dependencies.hook! |