diff options
author | Aditya Sanghi <asanghi@me.com> | 2012-04-24 21:56:41 -0500 |
---|---|---|
committer | Aditya Sanghi <asanghi@me.com> | 2012-04-24 21:56:41 -0500 |
commit | d6c831c198baee2542a070c62f1608f88fe60e34 (patch) | |
tree | bc34bac025f2c07688c79f666656d0ffc6ba8766 /activesupport | |
parent | 67ede880550836ce9f66164c56c8afeb397a54da (diff) | |
download | rails-d6c831c198baee2542a070c62f1608f88fe60e34.tar.gz rails-d6c831c198baee2542a070c62f1608f88fe60e34.tar.bz2 rails-d6c831c198baee2542a070c62f1608f88fe60e34.zip |
and one more time
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/kernel/debugger.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/kernel/debugger.rb b/activesupport/lib/active_support/core_ext/kernel/debugger.rb index 2273cf7c2c..2073cac98d 100644 --- a/activesupport/lib/active_support/core_ext/kernel/debugger.rb +++ b/activesupport/lib/active_support/core_ext/kernel/debugger.rb @@ -1,8 +1,8 @@ module Kernel unless respond_to?(:debugger) - # Starts a debugging session if a debugger has been loaded (call rails server --debugger to do load it). + # Starts a debugging session if the +debugger+ gem has been loaded (call rails server --debugger to do load it). def debugger - message = "\n***** Debugger requested, but was not available (ensure debugger is listed in Gemfile/installed as gem): Start server with --debugger to enable *****\n" + message = "\n***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****\n" defined?(Rails) ? Rails.logger.info(message) : $stderr.puts(message) end alias breakpoint debugger unless respond_to?(:breakpoint) |