Ruby on Rails web server problem

Asked

Viewed 66 times

1

I type the command Rails server he makes that mistake here; inserir a descrição da imagem aqui

why didn’t he know the web server?

1 answer

2

Hello. Make sure you are in the correct directory. It is a very common mistake to create a project rails new nome_do_projeto and then give rails s, but you’re out of the project directory.

Then you just enter the directory ex: cd nome_do_projeto and then give a rails s

STEP BY STEP:

rails new nome_do_projeto
cd nome_do_projeto
rails s

Use the command ls whenever possible to ensure that you are in the correct directory.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.