Prompt to run rake when accidentally typed rails
Prompt to run rake when accidentally typed rails

Developers from all levels will accidentally run rake tasks using the `rails` keyword when they meant to use `rake`. Often times beginners struggle with the difference between the tools. The most common example would be `$ rails db:migrate`

Rather than telling the developer simply that they did not use a valid rails command, we can see if it was a valid rake command first. If it is a valid rake command we can auto execute it giving the user a period of time to cancel if that isn't what they intended.

Here is what `rake db:migrate` would look like if you cancel the command:


```sh
$ rails db:migrate
Assuming you meant: $ rake db:migrate 
press any key to cancel in 3 seconds
> 
command terminated ...
```

Here is what it looks like if you don't cancel the command:

```sh
$ rails db:migrate
Assuming you meant: $ rake db:migrate 
press any key to cancel in 3 seconds
> 
Running: $ rake db:migrate 
==  Foo: migrating ============================================================
==  Foo: migrated (0.0000s) ===================================================
```
gfvcastro/rails,deraru/rails,yasslab/railsguides.jp,gauravtiwari/rails,rails/rails,kddeisz/rails,baerjam/rails,kmayer/rails,Edouard-chin/rails,tijwelch/rails,BlakeWilliams/rails,odedniv/rails,mohitnatoo/rails,illacceptanything/illacceptanything,kddeisz/rails,assain/rails,repinel/rails,flanger001/rails,MichaelSp/rails,baerjam/rails,mtsmfm/railstest,prathamesh-sonpatki/rails,joonyou/rails,pvalena/rails,utilum/rails,bogdanvlviv/rails,pvalena/rails,untidy-hair/rails,kenta-s/rails,arunagw/rails,Erol/rails,kmcphillips/rails,yasslab/railsguides.jp,mechanicles/rails,eileencodes/rails,fabianoleittes/rails,lcreid/rails,jeremy/rails,palkan/rails,notapatch/rails,rossta/rails,illacceptanything/illacceptanything,iainbeeston/rails,stefanmb/rails,mohitnatoo/rails,printercu/rails,mtsmfm/railstest,tgxworld/rails,illacceptanything/illacceptanything,arunagw/rails,88rabbit/newRails,yalab/rails,lucasmazza/rails,esparta/rails,yalab/rails,kamipo/rails,Sen-Zhang/rails,schuetzm/rails,marklocklear/rails,gcourtemanche/rails,brchristian/rails,joonyou/rails,yawboakye/rails,pschambacher/rails,tgxworld/rails,notapatch/rails,printercu/rails,kirs/rails-1,MSP-Greg/rails,marklocklear/rails,Envek/rails,BlakeWilliams/rails,arjes/rails,prathamesh-sonpatki/rails,samphilipd/rails,baerjam/rails,yhirano55/rails,mathieujobin/reduced-rails-for-travis,betesh/rails,printercu/rails,vassilevsky/rails,shioyama/rails,ledestin/rails,repinel/rails,bolek/rails,xlymian/rails,richseviora/rails,EmmaB/rails-1,shioyama/rails,deraru/rails,starknx/rails,pvalena/rails,Vasfed/rails,rails/rails,amoody2108/TechForJustice,illacceptanything/illacceptanything,printercu/rails,MSP-Greg/rails,pschambacher/rails,maicher/rails,Edouard-chin/rails,richseviora/rails,elfassy/rails,bradleypriest/rails,illacceptanything/illacceptanything,coreyward/rails,esparta/rails,tijwelch/rails,felipecvo/rails,shioyama/rails,eileencodes/rails,mechanicles/rails,kachick/rails,ttanimichi/rails,joonyou/rails,gavingmiller/rails,aditya-kapoor/rails,stefanmb/rails,baerjam/rails,travisofthenorth/rails,yasslab/railsguides.jp,vipulnsward/rails,georgeclaghorn/rails,matrinox/rails,tjschuck/rails,gauravtiwari/rails,vassilevsky/rails,mathieujobin/reduced-rails-for-travis,kirs/rails-1,mtsmfm/railstest,rbhitchcock/rails,utilum/rails,kaspth/rails,kddeisz/rails,coreyward/rails,coreyward/rails,ngpestelos/rails,illacceptanything/illacceptanything,travisofthenorth/rails,hanystudy/rails,matrinox/rails,kirs/rails-1,MichaelSp/rails,gauravtiwari/rails,arjes/rails,starknx/rails,schuetzm/rails,iainbeeston/rails,Spin42/rails,alecspopa/rails,felipecvo/rails,mohitnatoo/rails,gfvcastro/rails,mathieujobin/reduced-rails-for-travis,arunagw/rails,koic/rails,Sen-Zhang/rails,ledestin/rails,palkan/rails,mijoharas/rails,tjschuck/rails,88rabbit/newRails,odedniv/rails,rails/rails,kachick/rails,rafaelfranca/omg-rails,gavingmiller/rails,Stellenticket/rails,Spin42/rails,rossta/rails,EmmaB/rails-1,mohitnatoo/rails,tgxworld/rails,yahonda/rails,deraru/rails,amoody2108/TechForJustice,betesh/rails,palkan/rails,yasslab/railsguides.jp,yahonda/rails,kmayer/rails,alecspopa/rails,Vasfed/rails,voray/rails,utilum/rails,matrinox/rails,koic/rails,yawboakye/rails,arjes/rails,yahonda/rails,yhirano55/rails,gavingmiller/rails,mtsmfm/rails,tjschuck/rails,gfvcastro/rails,kamipo/rails,illacceptanything/illacceptanything,mtsmfm/rails,mechanicles/rails,xlymian/rails,georgeclaghorn/rails,aditya-kapoor/rails,esparta/rails,fabianoleittes/rails,Erol/rails,pvalena/rails,stefanmb/rails,vipulnsward/rails,georgeclaghorn/rails,bogdanvlviv/rails,aditya-kapoor/rails,kddeisz/rails,yhirano55/rails,assain/rails,palkan/rails,repinel/rails,pschambacher/rails,Stellenticket/rails,assain/rails,xlymian/rails,kamipo/rails,sealocal/rails,rbhitchcock/rails,flanger001/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,ngpestelos/rails,illacceptanything/illacceptanything,Vasfed/rails,kenta-s/rails,bolek/rails,lcreid/rails,rafaelfranca/omg-rails,yhirano55/rails,lucasmazza/rails,sealocal/rails,bradleypriest/rails,vipulnsward/rails,betesh/rails,kenta-s/rails,brchristian/rails,sergey-alekseev/rails,mijoharas/rails,illacceptanything/illacceptanything,jeremy/rails,samphilipd/rails,yahonda/rails,betesh/rails,fabianoleittes/rails,illacceptanything/illacceptanything,voray/rails,untidy-hair/rails,samphilipd/rails,utilum/rails,yawboakye/rails,gfvcastro/rails,kaspth/rails,untidy-hair/rails,starknx/rails,illacceptanything/illacceptanything,notapatch/rails,illacceptanything/illacceptanything,mtsmfm/rails,illacceptanything/illacceptanything,alecspopa/rails,yalab/rails,untidy-hair/rails,sealocal/rails,marklocklear/rails,sergey-alekseev/rails,maicher/rails,tgxworld/rails,travisofthenorth/rails,amoody2108/TechForJustice,Edouard-chin/rails,lcreid/rails,iainbeeston/rails,MSP-Greg/rails,eileencodes/rails,Edouard-chin/rails,joonyou/rails,flanger001/rails,schuetzm/rails,flanger001/rails,Erol/rails,riseshia/railsguides.kr,kmayer/rails,Vasfed/rails,Erol/rails,assain/rails,fabianoleittes/rails,Stellenticket/rails,gcourtemanche/rails,lcreid/rails,rafaelfranca/omg-rails,voray/rails,sergey-alekseev/rails,jeremy/rails,tijwelch/rails,jeremy/rails,vassilevsky/rails,mechanicles/rails,elfassy/rails,Envek/rails,aditya-kapoor/rails,BlakeWilliams/rails,arunagw/rails,tjschuck/rails,iainbeeston/rails,maicher/rails,esparta/rails,vipulnsward/rails,kachick/rails,bradleypriest/rails,yawboakye/rails,repinel/rails,prathamesh-sonpatki/rails,felipecvo/rails,rbhitchcock/rails,kmcphillips/rails,deraru/rails,88rabbit/newRails,kaspth/rails,BlakeWilliams/rails,Stellenticket/rails,yalab/rails,ngpestelos/rails,schuetzm/rails,hanystudy/rails,notapatch/rails,hanystudy/rails,kmcphillips/rails,prathamesh-sonpatki/rails,bogdanvlviv/rails,bolek/rails,kmcphillips/rails,gcourtemanche/rails,MSP-Greg/rails,travisofthenorth/rails,EmmaB/rails-1,riseshia/railsguides.kr,riseshia/railsguides.kr,mijoharas/rails,rails/rails,georgeclaghorn/rails,bogdanvlviv/rails,elfassy/rails,koic/rails,Envek/rails,odedniv/rails,lucasmazza/rails,eileencodes/rails,Envek/rails,ttanimichi/rails,richseviora/rails,riseshia/railsguides.kr,ttanimichi/rails,Spin42/rails,rossta/rails,shioyama/rails,MichaelSp/rails,Sen-Zhang/rails,brchristian/rails,ledestin/rails