-v and --version params now work on rails script in or our of an app
This commit is contained in:
parent
02ef8d20a1
commit
1ae543a180
|
@ -59,6 +59,9 @@ when 'runner'
|
||||||
require 'rails/commands/runner'
|
require 'rails/commands/runner'
|
||||||
require ENV_PATH
|
require ENV_PATH
|
||||||
|
|
||||||
|
|
||||||
|
when '--version', '-v'
|
||||||
|
puts "Rails #{Rails::VERSION::STRING}"
|
||||||
when '--help', '-h'
|
when '--help', '-h'
|
||||||
puts HELP_TEXT
|
puts HELP_TEXT
|
||||||
when '--version', '-v'
|
when '--version', '-v'
|
||||||
|
|
Loading…
Reference in New Issue