Skip to content
← Back to Community
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.

Voters
Profile icon
paysdumontblanc
Profile icon
smilingkenshi
Profile icon
ZdenekPaclik
Profile icon
Gladdy23
Profile icon
DimitriosVerga1
Profile icon
CreativityBB
Profile icon
pitosalas
Comments
hotnewtop
Profile icon
nmutajones

Files not showing after scaffolding, and when looking in the file system in the repl, they are not there either.

Profile icon
matedemorphy

files not showing

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

Profile icon
AndrewRoss1

seems right

have you asked support?

Same issue here

Profile icon
CreativityBB

same problem here

Profile icon
pitosalas

so, how do I do things like rails generate scaffold etc?

Profile icon
XavierDD

@pitosalas
I don't think you can until they get they have the linux shell to working.

Profile icon
XavierDD

The shell isn't avalible to what I know.