Rails Missing Template Error

278 Views Asked by At

I got the following error when trying to run my Rails server:

 ActionView::MissingTemplate (Missing template pages/index, application/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in:
1

There are 1 best solutions below

0
On BEST ANSWER

The problem (which has happened to me on 2 occasions so I thought I would share the answer for reference) is that I forgot to add the haml gem. Silly problem that cost me way more time than it should have.