aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-23 22:09:36 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-23 22:09:36 -0800
commite62e6d409986cd5c99234689aa49e3162d7b3a59 (patch)
treea99108c3e60bb9f44f5f1870d885971de383b9e4 /railties
parent0088ceb6fac35cd0b0480f153a7c6e8772313037 (diff)
downloadrails-e62e6d409986cd5c99234689aa49e3162d7b3a59.tar.gz
rails-e62e6d409986cd5c99234689aa49e3162d7b3a59.tar.bz2
rails-e62e6d409986cd5c99234689aa49e3162d7b3a59.zip
Add a dead --irb option mentioning upgrade path
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/commands/console.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/console.rb b/railties/lib/rails/commands/console.rb
index 1a40ed92cf..fc22ad64a9 100644
--- a/railties/lib/rails/commands/console.rb
+++ b/railties/lib/rails/commands/console.rb
@@ -17,6 +17,7 @@ module Rails
opt.banner = "Usage: console [environment] [options]"
opt.on('-s', '--sandbox', 'Rollback database modifications on exit.') { |v| options[:sandbox] = v }
opt.on("--debugger", 'Enable ruby-debugging for the console.') { |v| options[:debugger] = v }
+ opt.on('--irb') { |v| abort '--irb option is no longer supported. Invoke `/your/choice/of/ruby script/console` instead' }
opt.parse!(ARGV)
end