aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAditya Sanghi <asanghi@me.com>2012-04-18 02:24:44 +0530
committerAditya Sanghi <asanghi@me.com>2012-04-18 02:24:44 +0530
commit67ede880550836ce9f66164c56c8afeb397a54da (patch)
tree97ded19b591fbe5f65687b79105223b13487d7c0 /railties
parent6f80ea2aec83523640b505ddd5b6e87f0100a85b (diff)
downloadrails-67ede880550836ce9f66164c56c8afeb397a54da.tar.gz
rails-67ede880550836ce9f66164c56c8afeb397a54da.tar.bz2
rails-67ede880550836ce9f66164c56c8afeb397a54da.zip
another attempt at the language
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/commands/console.rb2
-rw-r--r--railties/lib/rails/generators/rails/app/templates/README4
-rw-r--r--railties/lib/rails/rack/debugger.rb2
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