I'm very new to Rails and am trying to get started but have run into a problem, I've searched around and it seems like a lot of people have had the same problem but I either don't understand their solutions or don't seem to have the files that they changed to fix it,
I'm currently using Windows and running all commands through Git Bash, I have Ruby v2.2.4p230
, and Rails v4.2.5.1
, through Git Bash, I have just run these commands
cd ~/Desktop
rails new pinteresting
cd pinteresting
rails generate controller pages home
rails server
So now if I go to the localhost3000
, it gives me the basic sample layout of the app which is fine, but then I try to visit the pages/home and I get one of three errors,
Missing helper file helpers/c:/users/acer_pc/desktop/pinteresting/app/helpers/application_helper.rb_helper.rb
Missing helper file helpers/c:/users/acer_pc/desktop/pinteresting/app/helpers/pages_helper.rb_helper.rb
Missing template pages/home, application/home with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in: * "c:/Users/Acer-PC/desktop/pinteresting/app/views"
If it helps, this is the folder https://github.com/Fuledbyramen/pinteresting