My_first_rails_app generate scaffolding error


Hi there! I’m having issues generating scaffolding in WLS. When I type rails generate scaffold car make:string model:string year:integer into the terminal, I get:

No text follows after (it’s complete black), and I’m unable to type any commands in after. Does anyone know what the issue is? Thanks in advance!


That warning is a normal WSL warning and isn’t the source of the problem. How long is the screen blank for?


I solved the issue by deleting all the directories I created during TOP and redoing all the steps (including installing Ruby). Before I did all this, I waited about 10 minutes with a blank screen before just closing WSL. After reinstalling everything it took about 5 seconds to start creating scaffolding.