Permalink
Browse files

-v and --version params now work on rails script in or our of an app

  • Loading branch information...
1 parent 02ef8d2 commit 1ae543a180095efef5ad59eb9883748ca20cebcf @mikel mikel committed Feb 4, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/lib/rails/commands.rb
@@ -59,6 +59,9 @@
require 'rails/commands/runner'
require ENV_PATH
+
+when '--version', '-v'
+ puts "Rails #{Rails::VERSION::STRING}"
when '--help', '-h'
puts HELP_TEXT
when '--version', '-v'

0 comments on commit 1ae543a

Please sign in to comment.