1
0
Fork 0
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:
Piotr Sarnacki 2010-11-11 07:42:10 -06:00 committed by José Valim
parent 2b2082eb09
commit fefce1262b

View file

@ -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