Problem with the Ruby on Rails web server

1

I type the rails server command it gives this error here;

Why did not he know the web server?

    
asked by anonymous 21.05.2017 / 17:17

1 answer

2

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.

    
21.05.2017 / 17:29