diff options
-rw-r--r-- | actionpack/test/abstract_unit.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 2d7b5f2af6..e47570823f 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -9,7 +9,11 @@ require 'action_controller' require 'action_controller/cgi_ext' require 'action_controller/test_process' -require 'ruby-debug' +begin + require 'ruby-debug' +rescue LoadError + # Debugging disabled. `gem install ruby-debug` to enable. +end # Show backtraces for deprecated behavior for quicker cleanup. ActiveSupport::Deprecation.debug = true |