diff options
author | RomD <romd86@gmail.com> | 2010-02-06 17:18:10 +0100 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-02-06 09:51:53 -0800 |
commit | f44a0b1d524064a2e919cd10d3013db680af9b17 (patch) | |
tree | 43011f4c151d45dbecdf0eeb78806e9ac3e8f391 /activesupport | |
parent | 6958eac1a00a4ab33e3facc70c80a07492288196 (diff) | |
download | rails-f44a0b1d524064a2e919cd10d3013db680af9b17.tar.gz rails-f44a0b1d524064a2e919cd10d3013db680af9b17.tar.bz2 rails-f44a0b1d524064a2e919cd10d3013db680af9b17.zip |
fix usage examples and more to use new invocations
Signed-off-by: Carl Lerche <carllerche@mac.com>
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/kernel/debugger.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/whiny_nil.rb | 2 |
2 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 59e03e3df7..22fcc1910b 100644 --- a/activesupport/lib/active_support/core_ext/kernel/debugger.rb +++ b/activesupport/lib/active_support/core_ext/kernel/debugger.rb @@ -1,6 +1,6 @@ module Kernel unless respond_to?(:debugger) - # Starts a debugging session if ruby-debug has been loaded (call script/server --debugger to do load it). + # 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: Start server with --debugger to enable *****\n" defined?(Rails) ? Rails.logger.info(message) : $stderr.puts(message) diff --git a/activesupport/lib/active_support/whiny_nil.rb b/activesupport/lib/active_support/whiny_nil.rb index 4f6ff7d3b5..d600ea4825 100644 --- a/activesupport/lib/active_support/whiny_nil.rb +++ b/activesupport/lib/active_support/whiny_nil.rb @@ -11,7 +11,7 @@ # classes in NilClass::WHINERS the error message suggests which could be the # actual intended class: # -# $ script/runner nil.destroy +# $ rails runner nil.destroy # ... # You might have expected an instance of ActiveRecord::Base. # ... |