Skip to content
Rails
Profile icon
pitosalas

Where's the shell where I can issue $ rails commands? It seems like the shell is just used for running the server.

You are viewing a single comment. View All
Profile icon
jondkinney

If you open the command pallet (F1 or right click in the code editor) then there is an option in the command pallet called "Open Shell". If you select that, then you'll have 3 splits to the right of your code editor one of which will be that bash terminal where you can type "rails generate resource post title:string body:text". After generating some files, just click "restart" and everything will show up in your file list and the migrations will run, etc. I just did this, it works. Hope this helps!

This file cannot be displayed: https://storage.googleapis.com/replit/images/1550838013154_7998791d97db3c8c0ec566f570684a5c.pn