Defer requiring Rake until it's needed.
Defer requiring Rake until it's needed.

Eagerly requiring Rake could put 100ms on to the Rails boot time. Shimmy that
down to 0 by requiring Rake when no native Rails command exists and we try to
run a Rake task. Or when printing all the Rake commands through `rails help`.

Fixes #25029

elfassy/rails,prathamesh-sonpatki/rails,mohitnatoo/rails,notapatch/rails,repinel/rails,schuetzm/rails,stefanmb/rails,hanystudy/rails,eileencodes/rails,mechanicles/rails,yawboakye/rails,vipulnsward/rails,kenta-s/rails,coreyward/rails,flanger001/rails,rossta/rails,deraru/rails,xlymian/rails,Stellenticket/rails,sealocal/rails,repinel/rails,kmayer/rails,kddeisz/rails,samphilipd/rails,felipecvo/rails,lucasmazza/rails,rossta/rails,yhirano55/rails,voray/rails,koic/rails,yahonda/rails,Sen-Zhang/rails,baerjam/rails,fabianoleittes/rails,rbhitchcock/rails,lcreid/rails,prathamesh-sonpatki/rails,mtsmfm/rails,EmmaB/rails-1,illacceptanything/illacceptanything,BlakeWilliams/rails,mtsmfm/rails,Edouard-chin/rails,untidy-hair/rails,Envek/rails,lucasmazza/rails,travisofthenorth/rails,eileencodes/rails,gavingmiller/rails,odedniv/rails,assain/rails,starknx/rails,arunagw/rails,mohitnatoo/rails,fabianoleittes/rails,travisofthenorth/rails,printercu/rails,esparta/rails,MichaelSp/rails,travisofthenorth/rails,richseviora/rails,vipulnsward/rails,shioyama/rails,MichaelSp/rails,odedniv/rails,fabianoleittes/rails,Erol/rails,prathamesh-sonpatki/rails,mtsmfm/railstest,utilum/rails,arunagw/rails,yawboakye/rails,baerjam/rails,pschambacher/rails,mechanicles/rails,yawboakye/rails,shioyama/rails,mijoharas/rails,lcreid/rails,pvalena/rails,yalab/rails,kmayer/rails,lcreid/rails,travisofthenorth/rails,gcourtemanche/rails,joonyou/rails,riseshia/railsguides.kr,brchristian/rails,sergey-alekseev/rails,deraru/rails,rafaelfranca/omg-rails,sealocal/rails,Stellenticket/rails,pvalena/rails,esparta/rails,riseshia/railsguides.kr,richseviora/rails,pschambacher/rails,matrinox/rails,schuetzm/rails,pschambacher/rails,yalab/rails,marklocklear/rails,deraru/rails,MSP-Greg/rails,sergey-alekseev/rails,alecspopa/rails,mijoharas/rails,gcourtemanche/rails,tgxworld/rails,rails/rails,aditya-kapoor/rails,georgeclaghorn/rails,tgxworld/rails,yasslab/railsguides.jp,kirs/rails-1,Stellenticket/rails,matrinox/rails,rails/rails,marklocklear/rails,rafaelfranca/omg-rails,brchristian/rails,mathieujobin/reduced-rails-for-travis,samphilipd/rails,eileencodes/rails,maicher/rails,iainbeeston/rails,EmmaB/rails-1,betesh/rails,yasslab/railsguides.jp,printercu/rails,BlakeWilliams/rails,BlakeWilliams/rails,aditya-kapoor/rails,sealocal/rails,kachick/rails,tijwelch/rails,palkan/rails,Envek/rails,mechanicles/rails,illacceptanything/illacceptanything,jeremy/rails,joonyou/rails,tjschuck/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,ledestin/rails,printercu/rails,brchristian/rails,shioyama/rails,betesh/rails,schuetzm/rails,gfvcastro/rails,flanger001/rails,palkan/rails,notapatch/rails,matrinox/rails,Spin42/rails,kddeisz/rails,kddeisz/rails,ledestin/rails,flanger001/rails,georgeclaghorn/rails,lcreid/rails,bradleypriest/rails,tjschuck/rails,yasslab/railsguides.jp,bogdanvlviv/rails,arjes/rails,rossta/rails,gfvcastro/rails,vipulnsward/rails,Edouard-chin/rails,mtsmfm/railstest,MSP-Greg/rails,illacceptanything/illacceptanything,BlakeWilliams/rails,riseshia/railsguides.kr,jeremy/rails,felipecvo/rails,Vasfed/rails,illacceptanything/illacceptanything,elfassy/rails,kirs/rails-1,yasslab/railsguides.jp,lucasmazza/rails,kenta-s/rails,kmcphillips/rails,starknx/rails,ttanimichi/rails,mijoharas/rails,Vasfed/rails,maicher/rails,illacceptanything/illacceptanything,repinel/rails,assain/rails,georgeclaghorn/rails,mechanicles/rails,xlymian/rails,arunagw/rails,bogdanvlviv/rails,mohitnatoo/rails,Sen-Zhang/rails,jeremy/rails,illacceptanything/illacceptanything,rails/rails,mohitnatoo/rails,gauravtiwari/rails,Spin42/rails,deraru/rails,untidy-hair/rails,aditya-kapoor/rails,mtsmfm/railstest,iainbeeston/rails,mtsmfm/rails,koic/rails,felipecvo/rails,bogdanvlviv/rails,ngpestelos/rails,stefanmb/rails,georgeclaghorn/rails,marklocklear/rails,illacceptanything/illacceptanything,untidy-hair/rails,hanystudy/rails,gcourtemanche/rails,gfvcastro/rails,odedniv/rails,rbhitchcock/rails,sergey-alekseev/rails,prathamesh-sonpatki/rails,aditya-kapoor/rails,xlymian/rails,gauravtiwari/rails,Erol/rails,utilum/rails,utilum/rails,voray/rails,kaspth/rails,betesh/rails,Vasfed/rails,kmcphillips/rails,gauravtiwari/rails,joonyou/rails,baerjam/rails,tijwelch/rails,palkan/rails,tijwelch/rails,yhirano55/rails,arunagw/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,vipulnsward/rails,kenta-s/rails,gfvcastro/rails,yalab/rails,ttanimichi/rails,starknx/rails,bolek/rails,bolek/rails,kmcphillips/rails,eileencodes/rails,fabianoleittes/rails,yalab/rails,rails/rails,kaspth/rails,rbhitchcock/rails,ngpestelos/rails,richseviora/rails,iainbeeston/rails,hanystudy/rails,mathieujobin/reduced-rails-for-travis,tjschuck/rails,bradleypriest/rails,elfassy/rails,kachick/rails,yawboakye/rails,jeremy/rails,yhirano55/rails,mathieujobin/reduced-rails-for-travis,kmayer/rails,Vasfed/rails,rafaelfranca/omg-rails,bolek/rails,coreyward/rails,EmmaB/rails-1,ledestin/rails,illacceptanything/illacceptanything,shioyama/rails,voray/rails,coreyward/rails,MSP-Greg/rails,notapatch/rails,yahonda/rails,kamipo/rails,assain/rails,illacceptanything/illacceptanything,kaspth/rails,illacceptanything/illacceptanything,iainbeeston/rails,pvalena/rails,arjes/rails,alecspopa/rails,palkan/rails,alecspopa/rails,Erol/rails,kamipo/rails,tgxworld/rails,yahonda/rails,riseshia/railsguides.kr,kirs/rails-1,gavingmiller/rails,Envek/rails,ngpestelos/rails,printercu/rails,esparta/rails,kmcphillips/rails,illacceptanything/illacceptanything,tjschuck/rails,pvalena/rails,MichaelSp/rails,arjes/rails,esparta/rails,Edouard-chin/rails,samphilipd/rails,assain/rails,utilum/rails,koic/rails,kamipo/rails,betesh/rails,joonyou/rails,flanger001/rails,bogdanvlviv/rails,notapatch/rails,repinel/rails,kachick/rails,Erol/rails,bradleypriest/rails,tgxworld/rails,stefanmb/rails,Edouard-chin/rails,MSP-Greg/rails,Sen-Zhang/rails,baerjam/rails,ttanimichi/rails,gavingmiller/rails,Envek/rails,yhirano55/rails,untidy-hair/rails,maicher/rails,schuetzm/rails,yahonda/rails,kddeisz/rails,Spin42/rails,Stellenticket/rails