Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActionView::Template::Error at / uninitialized constant

I'm getting the following error when I try to load my app:

ActionView::Template::Error at /
uninitialized constant ActionView::CompiledTemplates::EXPR_ARG

The error is found at app/views/layouts/application.html.haml and the follow code is highlighted.

!!! 5
%html{:lang => "en"}
  %head
    = render partial: 'common/html_head'
  %body#static{ class: body_css_class }
    = content_for?(:base_content) ? yield(:base_content) : yield

Does anyone have an idea on what this is?

like image 545
jj008 Avatar asked May 02 '18 18:05

jj008


1 Answers

This is a known bug in haml gem, version 5.0.1 - 5.0.4.

You need to update the gem version to 5.0.4.

Source

like image 171
Mugur 'Bud' Chirica Avatar answered Oct 17 '22 18:10

Mugur 'Bud' Chirica