diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-28 00:00:07 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-28 00:00:07 +0000 |
commit | 0aed1d629e82de743416a60461d52dace24bd4c4 (patch) | |
tree | c78175edff975effe7b302f963590e700638eb49 /actionpack | |
parent | 3f336ad5cc9fc6b9ca9947719fce3b9e8ad0dbb6 (diff) | |
download | rails-0aed1d629e82de743416a60461d52dace24bd4c4.tar.gz rails-0aed1d629e82de743416a60461d52dace24bd4c4.tar.bz2 rails-0aed1d629e82de743416a60461d52dace24bd4c4.zip |
Don't croak if ruby-debug isn't installed.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-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 |