Command: rails console, generate not recognize. Error: Command 'rails' not recognized Usage: rails COMMAND [ARGS]

When I go to rails folder (I'm inside my rails app folder) and type "rails c" or "rails g" it said: Error: Command 'rails' not recognized Usage: rails COMMAND [ARGS] Usage: spring COMMAND [ARGS]...