I type the rails server command it gives this error here;
Why did not he know the web server?
Hello. Make sure you are in the correct directory. It is a very common mistake to create a rails new nome_do_projeto
project and then give rails s
, but you are outside the project directory.
Then just enter the directory ex: cd nome_do_projeto
and then yes give rails s
FOOTSTEPS:
rails new nome_do_projeto
cd nome_do_projeto
rails s
Use the ls
command whenever possible to ensure that you are in the correct directory.