UPDATE:
So it turns out the issue is has to do with me corrupting confg/boot.rb. Details are in the answer below.
So basically rake stopped working. I'm trying to add a new model, and if I then run
rake db:migrate
I get:
Error: Command 'db:migrate' not recognized
I'm pretty sure rake is correctly installed and sourced though. If I run:
rake
I get the normal 'man' page starting with
Usage: rails COMMAND [ARGS]...The most common rails commands are...
Interestingly enough it also spits this out at the bottom:
.../db/schema.rb doesn't exist yet. Run 'rake db:migrate' to create it, then try again. If you do not intend to use a database, you should instead alter .../config/application.rb to limit the frameworks that will be loaded.
I do intend to use a database, so I'd love to get rake working...
Am I missing something obvious?
Thanks ahead of time!