Skip to content
Browse files

Add a dead --irb option mentioning upgrade path

  • Loading branch information...
1 parent 0088ceb commit e62e6d409986cd5c99234689aa49e3162d7b3a59 @jeremy jeremy committed Nov 23, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/commands/console.rb
View
1 railties/lib/rails/commands/console.rb
@@ -17,6 +17,7 @@ def start
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

0 comments on commit e62e6d4

Please sign in to comment.
Something went wrong with that request. Please try again.