Rails server not running

I’ve been trying to start the rails server in the following project: https://www.codecademy.com/courses/learn-rails/lessons/one-model/exercises/one-model-create-messages-i

each time i type “rails server” or “rails -s p 4001” i get the following error

Deprecation warning: Expected string default value for ‘–rc’; got false (boolean).
This will be rejected in the future unless you explicitly pass the options check_default_type: false or call allow_incompatible_default_type! in your code
You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION.
rails new APP_PATH [options]

It is happening, with a high probability, because you are not in the right folder.
After creating the rails app with: rails new [AppName]
you have to move into it with: cd [AppName] and there you can run rails s -p 4001

1 Like

It appears you were right. Thank you very much for the solution!

1 Like

thanks for the awesome information.