diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/commands/console.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/README | 4 | ||||
-rw-r--r-- | railties/lib/rails/rack/debugger.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/commands/console.rb b/railties/lib/rails/commands/console.rb index 37befdf697..4213be94d1 100644 --- a/railties/lib/rails/commands/console.rb +++ b/railties/lib/rails/commands/console.rb @@ -76,7 +76,7 @@ module Rails require 'debugger' puts "=> Debugger enabled" rescue Exception - puts "You need to install debugger to run the console in debugging mode. With gems, use 'gem install debugger'" + puts "You need to install a debugger to run the console in debugging mode. With gems, use 'gem install debugger'" exit end end diff --git a/railties/lib/rails/generators/rails/app/templates/README b/railties/lib/rails/generators/rails/app/templates/README index 465c180c44..3c6b480bcf 100644 --- a/railties/lib/rails/generators/rails/app/templates/README +++ b/railties/lib/rails/generators/rails/app/templates/README @@ -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 debugger to run the server in debugging -mode. With gems, use <tt>sudo gem install debugger</tt>. Example: +resume execution! You need to install a debugger to run the server in debugging +mode. With gems, use <tt>gem install debugger</tt>. Example: class WeblogController < ActionController::Base def index diff --git a/railties/lib/rails/rack/debugger.rb b/railties/lib/rails/rack/debugger.rb index 2ee05a6d51..8f7c0f9c70 100644 --- a/railties/lib/rails/rack/debugger.rb +++ b/railties/lib/rails/rack/debugger.rb @@ -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 debugger to run the server in debugging mode. With gems, use 'gem install debugger'" + puts "You need to install a debugger to run the server in debugging mode. With gems, use 'gem install debugger'" exit end |