when I run a command like rails generate model Address Rails creates the model file and the migration file inside the config folder. A lot of other things are broken too. E.g. I can’t launch the server because the configuration file config.ru cannot be found.
What’s wrong here and how can I fix this?
I guess some paths are set incorrectly. But I wonder how that could happen because I haven’t touched anything since yesterday evening.
Thanks for any help…
Try this
then run