I have this line in my .emacs file:
(add-to-list 'auto-mode-alist '(".+\\.html\\.erb$" . eruby-nxhtml-mumamo))
however, erb chunks aren't correctly recognised. After I run M-x eruby-nxhtml-mumamo everything works like a charm. Any ideas how to fix this?
change
"eruby-nxhtml-mumamo"to"eruby-nxhtml-mumamo-mode"