diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-30 16:46:58 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-30 16:46:58 -0700 |
commit | 960dd860242048fbb3c637307588000c38c5272c (patch) | |
tree | 43cdf83710f94e612f49e27ee90944e6f88ec1ba /railties | |
parent | bda6d6c2279e4b158bb552d151dd74d170d572c7 (diff) | |
download | rails-960dd860242048fbb3c637307588000c38c5272c.tar.gz rails-960dd860242048fbb3c637307588000c38c5272c.tar.bz2 rails-960dd860242048fbb3c637307588000c38c5272c.zip |
no need to shift
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index f0cbac6a3a..9d4e54ab00 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -319,8 +319,7 @@ module Rails def prepare! handle_version_request!(@argv.first) handle_invalid_command!(@argv.first, @argv) do - @argv.shift - handle_rails_rc!(@argv) + handle_rails_rc!(@argv.drop(1)) end end |