mirror of https://github.com/rails/rails
Merge pull request #4251 from castlerock/rename_ruby_debug_to_ruby_debug19
rename ruby-debug to ruby-debug19
This commit is contained in:
commit
6f44fa0a8a
|
@ -2,7 +2,7 @@ module Kernel
|
|||
unless respond_to?(:debugger)
|
||||
# Starts a debugging session if ruby-debug has been loaded (call rails server --debugger to do load it).
|
||||
def debugger
|
||||
message = "\n***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****\n"
|
||||
message = "\n***** Debugger requested, but was not available (ensure ruby-debug19 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)
|
||||
|
|
|
@ -86,8 +86,8 @@ programming in general.
|
|||
Debugger support is available through the debugger command when you start your
|
||||
Mongrel or WEBrick server with --debugger. This means that you can break out of
|
||||
execution at any point in the code, investigate and change the model, and then,
|
||||
resume execution! You need to install ruby-debug to run the server in debugging
|
||||
mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
|
||||
resume execution! You need to install ruby-debug19 to run the server in debugging
|
||||
mode. With gems, use <tt>sudo gem install ruby-debug19</tt>. Example:
|
||||
|
||||
class WeblogController < ActionController::Base
|
||||
def index
|
||||
|
|
|
@ -86,8 +86,8 @@ programming in general.
|
|||
Debugger support is available through the debugger command when you start your
|
||||
Mongrel or WEBrick server with --debugger. This means that you can break out of
|
||||
execution at any point in the code, investigate and change the model, and then,
|
||||
resume execution! You need to install ruby-debug to run the server in debugging
|
||||
mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
|
||||
resume execution! You need to install ruby-debug19 to run the server in debugging
|
||||
mode. With gems, use <tt>sudo gem install ruby-debug19</tt>. Example:
|
||||
|
||||
class WeblogController < ActionController::Base
|
||||
def index
|
||||
|
|
|
@ -12,7 +12,7 @@ module Rails
|
|||
::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings)
|
||||
puts "=> Debugger enabled"
|
||||
rescue LoadError
|
||||
puts "You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'"
|
||||
puts "You need to install ruby-debug19 to run the server in debugging mode. With gems, use 'gem install ruby-debug19'"
|
||||
exit
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue