From fefce1262b7eddfe463873843d9719e76d385ff5 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 11 Nov 2010 07:42:10 -0600 Subject: [PATCH] Don't need to support rails plugin --version --- railties/lib/rails/commands/plugin_new.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/railties/lib/rails/commands/plugin_new.rb b/railties/lib/rails/commands/plugin_new.rb index 00a7e30902..8baa8ebfd4 100644 --- a/railties/lib/rails/commands/plugin_new.rb +++ b/railties/lib/rails/commands/plugin_new.rb @@ -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