My_first_rails_app generate scaffolding error


#1

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!


#2

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


#3

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.