There is no index.html file in public folder

i am new in ruby and just developing my first app, i am following a tutorial on youtube, when i run the server by localhost:3000 it shows me “Yay! You’re on Rails!”. i don’t know how to route it to index.html file in my home where i start developing my app. please need help i am new here.

here is my routes.rb file

Rails.application.routes.draw do
get ‘home/index’

For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html

end

You have to create a home controller and set your root_path in the routes.rb to root 'home#index'i

Hope this helps.

I suggest working through the tutorial at railstutorial.org which will give
you a good introduction to rails and is free to use online.

Colin