提交 1ae543a1 编写于 作者: M Mikel Lindsaar

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

上级 02ef8d20
......@@ -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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册