diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-11-11 07:42:10 -0600 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-11-16 00:04:34 +0100 |
commit | fefce1262b7eddfe463873843d9719e76d385ff5 (patch) | |
tree | 828297f999ef03ca8135ab154993c42c53a1c4ce /railties/lib | |
parent | 2b2082eb091bb5f51757dd5a321dd092733a0450 (diff) | |
download | rails-fefce1262b7eddfe463873843d9719e76d385ff5.tar.gz rails-fefce1262b7eddfe463873843d9719e76d385ff5.tar.bz2 rails-fefce1262b7eddfe463873843d9719e76d385ff5.zip |
Don't need to support rails plugin --version
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/plugin_new.rb | 6 |
1 files changed, 0 insertions, 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 |