I’m having a weird issue.
Locally everything renders fine, and when I fire it up on Heroku I get this error:
2011-12-31T06:26:23+00:00 app[web.1]: ActionView::MissingTemplate (Missing template pages/index, application/index with {:handlers=>[:erb, :builder], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
2011-12-31T06:26:23+00:00 app[web.1]: * "/app/app/views"
2011-12-31T06:26:23+00:00 app[web.1]: ):
Why is it blows up with /app/app/views? Why would it have two apps in there? I’m not sure what’s wrong. It’s a pretty basic app. I haven’t done anything fancy.
In my case it was failing due to haml-rails gem being in :assets group. It was not able to render haml files.