no need to shift

This commit is contained in:
Aaron Patterson 2013-10-30 16:46:58 -07:00
parent bda6d6c227
commit 960dd86024
1 changed files with 1 additions and 2 deletions

View File

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