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.
Be sure you add the haml-rails gem tu your gemfile
In my case the problem is the haml-rails insitde "group :assets do" in Gemfile
Moving gem "haml-rails" to outside of assets group, works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With