Rails error Missing template error
When trying to start my Rails server, I got the following error:
ActionView::MissingTemplate (Missing template pages/index, application/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in:
+3
eatsleepcode
source
to share
1 answer
The problem (which happened to me 2 times, so I decided to share the answer with you for reference) is that I forgot to add the haml gem. Silly question that cost me more time than it should have.
+2
eatsleepcode
source
to share