Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't croak if ruby-debug isn't installed.

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 0aed1d629e82de743416a60461d52dace24bd4c4 1 parent 3f336ad
@jeremy jeremy authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 actionpack/test/abstract_unit.rb
6 actionpack/test/abstract_unit.rb
@@ -9,7 +9,11 @@
require 'action_controller/cgi_ext'
require 'action_controller/test_process'
-require 'ruby-debug'
+ require 'ruby-debug'
+rescue LoadError
+ # Debugging disabled. `gem install ruby-debug` to enable.
# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true
Please sign in to comment.
Something went wrong with that request. Please try again.