SMMousaviSP
SMMousaviSP

Reputation: 816

Rails server doesn't start and there is no Error

I created an empty rails project in windows 10 with this command:

rails new blog

and when I'm in the blog directory and running this commend:

rails server

It won't start and there is no Error Just these 3 line in the git-bash

=> Booting Puma
=> Rails 6.0.0 application starting in development
=> Run `rails server --help` for more startup options

There is nothing in localhost:3000 or localhost:8000

Upvotes: 0

Views: 548

Answers (1)

Aaquib Jawed
Aaquib Jawed

Reputation: 581

Rails.application.routes.draw do
  resources :books
root 'user#index'
get 'demo/index'
get 'reminder/remind'

Go to routes file remove the indentation of simple match routes('i.e two spaces from the simple match routes')

eg.

Like this

Upvotes: 2

Related Questions