mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Don't need to support rails plugin --version
This commit is contained in:
committed by
José Valim
parent
2b2082eb09
commit
fefce1262b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user