mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Don't need to support rails plugin --version
This commit is contained in:
parent
2b2082eb09
commit
fefce1262b
1 changed files with 0 additions and 6 deletions
|
@ -1,9 +1,3 @@
|
|||
require 'rails/version'
|
||||
if %w(--version -v).include? ARGV.first
|
||||
puts "Rails #{Rails::VERSION::STRING}"
|
||||
exit(0)
|
||||
end
|
||||
|
||||
if ARGV.first != "new"
|
||||
ARGV[0] = "--help"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue